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:
authorDaniel Dunbar <daniel@zuster.org>2005-07-23 23:03:43 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-07-23 23:03:43 +0400
commitfb651ddb4a47d86312a4afafaa48e1bf4e48447f (patch)
treed6e2e742f5aa1b8a4997705536e6fef828509ec0 /source/blender/include
parent948f27c0d888bbfe0f10c4350b4269166568b40d (diff)
- change mesh_calc_normals to set vertices with len(no)==0
to normalised coordinate (convention in blender, helps with halo) - removed vertexnormals(), vertexnormals_mesh() - removed CTX_NO_NOR_RECALC (always assume already calculated) - change NMesh.c to call mesh_calc_normals - chance load_editMesh to call mesh_calc_normals after done converting instead of using editmesh normals - update recalc_editnormals to also calc vertex normals (whats 4 more adds and a sqrt among friends) Its hard to believe, but it just might be the case that there are only two places mesh normals are calculated now (renderer and kernel)
Diffstat (limited to 'source/blender/include')
-rw-r--r--source/blender/include/BIF_editmesh.h1
-rw-r--r--source/blender/include/BIF_meshtools.h1
-rwxr-xr-xsource/blender/include/BIF_transform.h1
3 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/include/BIF_editmesh.h b/source/blender/include/BIF_editmesh.h
index aa322ef5169..cd57f9eb4fe 100644
--- a/source/blender/include/BIF_editmesh.h
+++ b/source/blender/include/BIF_editmesh.h
@@ -88,7 +88,6 @@ extern int EM_nvertices_selected(void);
extern int faceselectedAND(struct EditFace *efa, int flag);
extern void recalc_editnormals(void);
extern void flip_editnormals(void);
-extern void vertexnormals(int testflip);
/* ******************* editmesh_mods.c */
diff --git a/source/blender/include/BIF_meshtools.h b/source/blender/include/BIF_meshtools.h
index 24c56629a30..d12087bc309 100644
--- a/source/blender/include/BIF_meshtools.h
+++ b/source/blender/include/BIF_meshtools.h
@@ -38,7 +38,6 @@ extern void join_mesh(void);
extern void fasterdraw(void);
extern void slowerdraw(void);
-extern void vertexnormals_mesh(Mesh *me);
extern void sort_faces(void);
diff --git a/source/blender/include/BIF_transform.h b/source/blender/include/BIF_transform.h
index 57aaf37a65d..78f2bb38c48 100755
--- a/source/blender/include/BIF_transform.h
+++ b/source/blender/include/BIF_transform.h
@@ -57,7 +57,6 @@
#define CTX_TEXTURE 1
#define CTX_EDGE 2
#define CTX_NO_PET 4
-#define CTX_NO_NOR_RECALC 8
void initTransform(int mode, int context);
void Transform(void);