diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-03-28 02:42:57 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-03-28 02:42:57 +0400 |
commit | 57b166042044d14328f41fd5688fe7d98b1bd372 (patch) | |
tree | d30070bb4c50ef8d3b035d962fcf374d2ffe9114 /source/blender/blenkernel/BKE_DerivedMesh.h | |
parent | e86d5ea49831deff3dc533250c9479abab68de89 (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.h | 3 |
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) */ |