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-29 11:51:00 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-03-29 11:51:00 +0400
commit4a5a9f4e491fa438c1944ae53bb3e3313aadfcf3 (patch)
treedbafb0d0c6893e877960db1156b8e9e3887f7e64 /source/blender/blenkernel/BKE_DerivedMesh.h
parent4c511daa88c42b3d3a43a276024d6138e728d5b6 (diff)
- added drawFacesTex function to DerivedMesh with implementations
- switched drawmesh.c to use new functions - WHEE! This is last such function that has to be written for the time being, and also effectively marks the end of DL_MESH! DispListMesh still hangs around as a kind of interchange format but should also die once DerivedMesh provides more intimate mesh access. DL_MESH (the displist type for DispListMesh) is still used to hold the DispListMesh, but that will die as soon as new subsurf switches to using a bonafide DerivedMesh implementation. There is also one silly usage for the decimator that is easy to kill. - Oh, and I also made potatoe mode draw mesh vertex colors - seemed to be more uniform behavior.
Diffstat (limited to 'source/blender/blenkernel/BKE_DerivedMesh.h')
-rw-r--r--source/blender/blenkernel/BKE_DerivedMesh.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h
index 44e365f43b7..e8a6a82ff48 100644
--- a/source/blender/blenkernel/BKE_DerivedMesh.h
+++ b/source/blender/blenkernel/BKE_DerivedMesh.h
@@ -88,6 +88,11 @@ struct DerivedMesh {
*/
void (*drawFacesColored)(DerivedMesh *dm, int useTwoSided, unsigned char *col1, unsigned char *col2);
+ /* Draw all faces uses TFace
+ * o Drawing options too complicated to enumerate, look at code.
+ */
+ void (*drawFacesTex)(DerivedMesh *dm, int (*setDrawParams)(TFace *tf, int matnr));
+
/* Draw single mapped vert as bgl point (no options) */
void (*drawMappedVertEM)(DerivedMesh *dm, void *vert);