Changeset 1083 for GTP/trunk/Lib/Geom/shared/GTGeometry/include
- Timestamp:
- 07/05/06 20:18:06 (18 years ago)
- Location:
- GTP/trunk/Lib/Geom/shared/GTGeometry/include
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoLodStripsLibrary.h
r1078 r1083 133 133 134 134 // Loads Mesh. 135 void LoadStripMesh(const LodStripsLibraryData &, Mesh *geomesh);135 void LoadStripMesh(const LodStripsLibraryData *, Mesh *geomesh); 136 136 137 137 Geometry::CREATEINDEXDATAFUNC create_index_data_func; … … 139 139 // Strips vector. 140 140 SmallIntVector *mStrips; 141 int *indices_x_submesh; 142 int *offsets_x_submesh; 141 143 142 144 void UpdateDataRetrievalInterface(void); … … 149 151 * including the multiresolution object. 150 152 */ 151 LodStripsLibrary(const LodStripsLibraryData &, Mesh *geomesh, CREATEINDEXDATAFUNC idfun=NULL);153 LodStripsLibrary(const LodStripsLibraryData *, Mesh *geomesh, CREATEINDEXDATAFUNC idfun=NULL); 152 154 153 155 /// Destructor. … … 173 175 uint32 MinVertices(); 174 176 175 int *indices_x_submesh; 177 uint32 GetValidIndexCount(int submeshid) const { return indices_x_submesh[submeshid]; } 178 uint32 GetValidOffset(int submeshid) const { return offsets_x_submesh[submeshid]; } 176 179 }; 177 180 } -
GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoLodTreeLibrary.h
r1078 r1083 22 22 /* LodTreeLibrary( const LodTreeLibrary &); 23 23 LodTreeLibrary(LodTreeLibrary*);*/ 24 LodTreeLibrary( const LodStripsLibraryData &,25 const TreeSimplificationSequence &,24 LodTreeLibrary( const LodStripsLibraryData *, 25 const TreeSimplificationSequence *, 26 26 Geometry::Mesh *treeGeoMesh, 27 27 uint32 leafSubMeshID … … 57 57 /* const VertexData* Get_Trunk_VertexData(void) const;*/ 58 58 const IndexData* CurrentLOD_Trunk_Indices(void) const; 59 uint32 GetValidTrunkIndexCount(int isubmesh) const { return trunk->GetValidIndexCount(isubmesh); } 60 uint32 GetValidTrunkOffset(int isubmesh) const { return trunk->GetValidOffset(isubmesh); } 59 61 60 62 // uint32 Get_Foliage_VertexCount(void) const; … … 64 66 const VertexData* Get_Foliage_VertexData(void) const; 65 67 66 // Geometry::IndexData *trunk_all_indices;67 // unsigned int *indices_offsets;68 69 // const Geometry::SmallIntVector & GetStrip(uint32 istrip) const { return trunk->mStrips[istrip]; }70 Geometry::LodStripsLibrary *trunk;71 72 68 private: 73 69 Foliage *foliage; 74 70 Geometry::LodStripsLibrary *trunk; 75 71 }; 76 72 }
Note: See TracChangeset
for help on using the changeset viewer.