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-22 21:03:50 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-07-22 21:03:50 +0400
commitcb3d0afd87b9276ef8b6937f664c3960c7bd6a23 (patch)
tree36dba0e5d8aa8e0cb9d3ddb24d57a1b7369b8ce3 /source/blender/blenkernel/BKE_mesh.h
parentf6024cfdac4aec15a2674ffbadc6928271f1b936 (diff)
- moved mesh_getVertexCos to mesh.c and prototyped
- make mesh_modifier build vertex locations on demand
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh.h')
-rw-r--r--source/blender/blenkernel/BKE_mesh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_mesh.h b/source/blender/blenkernel/BKE_mesh.h
index addea547340..f92ad61191c 100644
--- a/source/blender/blenkernel/BKE_mesh.h
+++ b/source/blender/blenkernel/BKE_mesh.h
@@ -93,6 +93,10 @@ void mesh_calculate_vertex_normals (struct Mesh *me);
*/
void mesh_calc_normals(struct MVert *mverts, int numVerts, struct MFace *mfaces, int numFaces, float **faceNors_r);
+ /* Return a newly MEM_malloc'd array of all the mesh vertex locations
+ * (_numVerts_r_ may be NULL) */
+float (*mesh_getVertexCos(struct Mesh *me, int *numVerts_r))[3];
+
#ifdef __cplusplus
}
#endif