Changeset 1554 for GTP/trunk/Lib/Geom
- Timestamp:
- 10/02/06 19:16:14 (18 years ago)
- Location:
- GTP/trunk/Lib/Geom/shared/GeoTool
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GeoTool/include/GeoMeshViewUI.h
r1549 r1554 117 117 } 118 118 119 virtual void SetIndex(unsigned int i, unsigned int index){ 120 indices[modifySubmesh][i] = index; 121 } 119 virtual void SetIndex(unsigned int i, unsigned int index){ 120 assert(i<indexCount[modifySubmesh]); 121 indices[modifySubmesh][i] = index; 122 } 122 123 123 124 virtual void End(void){} -
GTP/trunk/Lib/Geom/shared/GeoTool/src/GeoMeshView.cpp
r1549 r1554 923 923 924 924 // For each one of the strips. 925 int indices_to_render = lodStripsLib->GetValidIndexCount(submesh); 926 int offset = lodStripsLib->GetValidOffset(submesh); 925 int indices_to_render = lodStripsLib->GetValidIndexCount(submesh); 927 926 928 927 glBegin(GL_TRIANGLE_STRIP); … … 1005 1004 1006 1005 // For each one of the strips. 1007 int indices_to_render = lodTreeLib->GetValidTrunkIndexCount(submesh); 1008 int begin_index = lodTreeLib->GetValidTrunkOffset(submesh); 1006 int indices_to_render = lodTreeLib->GetValidTrunkIndexCount(submesh); 1009 1007 1010 1008 glBegin(GL_TRIANGLE_STRIP);
Note: See TracChangeset
for help on using the changeset viewer.