Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-04-12 04:36:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-04-12 04:36:50 +0400
commit8c3ab1c2a40c17901546575adda3eba5d76b25ba (patch)
treeea7c1febdbc344c7173a8f9936156b98e680fa47 /source/blender/modifiers/intern/MOD_smooth.c
parent7d9898229582b44a525c5752550a2494adaa4fd6 (diff)
- use more inline math funcitons where possible
- swapped in less verbose math functons - modifier include cleanup
Diffstat (limited to 'source/blender/modifiers/intern/MOD_smooth.c')
-rw-r--r--source/blender/modifiers/intern/MOD_smooth.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/source/blender/modifiers/intern/MOD_smooth.c b/source/blender/modifiers/intern/MOD_smooth.c
index 2a8121e31c4..c89901bdffa 100644
--- a/source/blender/modifiers/intern/MOD_smooth.c
+++ b/source/blender/modifiers/intern/MOD_smooth.c
@@ -32,17 +32,16 @@
#include "stddef.h"
#include "string.h"
-#include "stdarg.h"
#include "math.h"
#include "float.h"
#include "BLI_kdtree.h"
#include "BLI_rand.h"
-#include "BLI_uvproject.h"
+#include "BLI_math.h"
#include "MEM_guardedalloc.h"
-#include "DNA_armature_types.h"
+#include "DNA_meshdata_types.h"
#include "DNA_camera_types.h"
#include "DNA_curve_types.h"
#include "DNA_key_types.h"
@@ -51,12 +50,9 @@
#include "BKE_action.h"
-#include "BKE_bmesh.h"
-#include "BKE_cloth.h"
#include "BKE_cdderivedmesh.h"
#include "BKE_displist.h"
#include "BKE_fluidsim.h"
-#include "BKE_global.h"
#include "BKE_multires.h"
#include "BKE_key.h"
#include "BKE_lattice.h"
@@ -73,13 +69,11 @@
#include "BKE_subsurf.h"
#include "BKE_texture.h"
-#include "depsgraph_private.h"
#include "BKE_deform.h"
#include "BKE_shrinkwrap.h"
#include "LOD_decimation.h"
-#include "CCGSubSurf.h"
#include "RE_shader_ext.h"
@@ -274,7 +268,7 @@ static void deformVerts(
}
static void deformVertsEM(
- ModifierData *md, Object *ob, EditMesh *editData,
+ ModifierData *md, Object *ob, struct EditMesh *editData,
DerivedMesh *derivedData, float (*vertexCos)[3], int numVerts)
{
DerivedMesh *dm= get_dm(md->scene, ob, editData, derivedData, NULL, 0);