diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-03-28 11:10:32 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-03-28 11:10:32 +0400 |
commit | 29aae3452e2920bc7ace6a28b1f5478440b75f64 (patch) | |
tree | 86ab330e5a347def40d4ffa8dfe5da48b6078239 /source/blender/blenkernel/BKE_DerivedMesh.h | |
parent | 8acfd730cff7f338386b0c99b660bb6412792803 (diff) |
- added getMappedVertCoEM and drawMappedVertEM to DerivedMesh with
implementations (slightly redundant, could implement draw in terms
of first... can be cleaned later)
- switch to use of new APIs... all uses of EditVert->ssco are now
clean (read: ready to die as soon as a proper DerivedMesh implementation
is swapped in with ccgsubsurf)
Diffstat (limited to 'source/blender/blenkernel/BKE_DerivedMesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_DerivedMesh.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h index e66b36d9518..5e210cb3589 100644 --- a/source/blender/blenkernel/BKE_DerivedMesh.h +++ b/source/blender/blenkernel/BKE_DerivedMesh.h @@ -51,6 +51,8 @@ struct DerivedMesh { int (*getNumVerts)(DerivedMesh *dm); int (*getNumFaces)(DerivedMesh *dm); + void (*getMappedVertCoEM)(DerivedMesh *dm, void *vert, float co_r[3]); + /* Convert to new DispListMesh, should be free'd by caller */ struct DispListMesh* (*convertToDispListMesh)(DerivedMesh *dm); @@ -82,6 +84,9 @@ struct DerivedMesh { */ void (*drawFacesColored)(DerivedMesh *dm, int useTwoSided, unsigned char *col1, unsigned char *col2); + /* Draw single mapped vert as bgl point (no options) */ + void (*drawMappedVertEM)(DerivedMesh *dm, void *vert); + /* Draw mapped vertices as bgl points * o Only if mapped EditVert->h==0 */ |