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 02:42:57 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-03-28 02:42:57 +0400
commit57b166042044d14328f41fd5688fe7d98b1bd372 (patch)
treed30070bb4c50ef8d3b035d962fcf374d2ffe9114 /source/blender/blenkernel/BKE_DerivedMesh.h
parente86d5ea49831deff3dc533250c9479abab68de89 (diff)
- added DerivedMesh convertToDispListMesh function with implementations,
this is to ease migration. - updated particles and STL converter to use DerivedMesh interface. This is a bit wasteful at the moment, but these are not key performance areas. Can update once DerivedMesh has accessors for faces and face data.
Diffstat (limited to 'source/blender/blenkernel/BKE_DerivedMesh.h')
-rw-r--r--source/blender/blenkernel/BKE_DerivedMesh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h
index 72ad71feb49..3fe9f771c7f 100644
--- a/source/blender/blenkernel/BKE_DerivedMesh.h
+++ b/source/blender/blenkernel/BKE_DerivedMesh.h
@@ -43,6 +43,9 @@ struct DerivedMesh {
int (*getNumVerts)(DerivedMesh *dm);
int (*getNumFaces)(DerivedMesh *dm);
+ /* Convert to new DispListMesh, should be free'd by caller */
+ struct DispListMesh* (*convertToDispListMesh)(DerivedMesh *dm);
+
/* Drawing Operations */
/* Draw all vertices as bgl points (no options) */