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-03-28 12:17:51 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-03-28 12:17:51 +0400
commit6a8fb8bf6c691428b089f2c6cc12ad41f1295c93 (patch)
tree34c2aa3a5c16f6b92ffdcee90877eddb200e01f6 /source/blender/blenkernel/BKE_displist.h
parent0c05224a15cfcc7ae1fe2cd2010be95b8820ddf0 (diff)
- added nors to DispListMesh (for face normals)... this is just to
avoid throwing them on later with addnormalsdisplist which is just silly and burdensome. - renamed displist_calc_vert_normals to displist_calc_normals
Diffstat (limited to 'source/blender/blenkernel/BKE_displist.h')
-rw-r--r--source/blender/blenkernel/BKE_displist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_displist.h b/source/blender/blenkernel/BKE_displist.h
index 7ae1ac664e3..0146d1a2341 100644
--- a/source/blender/blenkernel/BKE_displist.h
+++ b/source/blender/blenkernel/BKE_displist.h
@@ -100,11 +100,12 @@ struct DispListMesh {
struct TFace *tface;
struct EditEdge **editedge; // added for subsurf, drawobject.c
struct EditFace **editface; // added for subsurf, drawobject.c
+ float *nors; // facenormals
int flag;
};
void displistmesh_free(DispListMesh *dlm);
-void displistmesh_calc_vert_normals(DispListMesh *dlm);
+void displistmesh_calc_normals(DispListMesh *dlm);
void displistmesh_to_mesh(DispListMesh *dlm, struct Mesh *me);