Changeset 721 for GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/BBC/BBCOgreMeshSerializer.h
- Timestamp:
- 03/31/06 17:29:32 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/BBC/BBCOgreMeshSerializer.h
r700 r721 4 4 #include <BBCPrerequisites.h> 5 5 #include <BBCEntity.h> 6 #include <BBCMesh.h> 6 7 7 8 namespace BBC { … … 14 15 virtual ~OgreMeshSerializer(); 15 16 16 void setEntity(Entity *entity);17 void setEntity(EntityPtr entity); 17 18 18 Entity *getEntity();19 EntityPtr getEntity(); 19 20 20 21 void exportMesh(const Ogre::String& fileName, bool mergeSubMeshes, bool tangents); … … 22 23 protected: 23 24 24 Entity *mEntity;25 EntityPtr mEntity; 25 26 26 void buildMesh( Ogre::Mesh*pMesh, bool mergeSubmeshes);27 void buildMesh(MeshPtr pMesh, bool mergeSubmeshes); 27 28 28 void generateEntityAABB( Ogre::Mesh*pMesh);29 void generateEntityAABB(MeshPtr pMesh); 29 30 30 void exportSubMeshes( Ogre::Mesh*pMesh);31 void exportSubMeshes(MeshPtr pMesh); 31 32 32 void exportSubMesh( Ogre::Mesh* pMesh, SubEntity *subEntity);33 void exportSubMesh(MeshPtr pMesh, SubEntityPtr subEntity); 33 34 34 template <typename T> void writeIndexes(T* buf, SubEntity *subEntity);35 template <typename T> void writeIndexes(T* buf, SubEntityPtr subEntity); 35 36 36 37 void createVertexBuffer(Ogre::VertexData* vd, unsigned short bufIdx, UniqueVertexList *uniqueVertexList);
Note: See TracChangeset
for help on using the changeset viewer.