- Timestamp:
- 10/09/06 22:38:07 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreMeshInstance.cpp
r1028 r1593 6 6 7 7 OgreMeshInstance::OgreMeshInstance(Entity *ent): 8 GtpVisibilityPreprocessor::Intersectable(), m Mesh(ent)8 GtpVisibilityPreprocessor::Intersectable(), mEntity(ent) 9 9 { 10 10 } 11 11 12 void OgreMeshInstance::Set Mesh(Entity *mesh)12 void OgreMeshInstance::SetEntity(Entity *entity) 13 13 { 14 m Mesh = mesh;14 mEntity = entity; 15 15 } 16 16 17 Entity *OgreMeshInstance::Get Mesh() const17 Entity *OgreMeshInstance::GetEntity() const 18 18 { 19 return m Mesh;19 return mEntity; 20 20 } 21 21 22 22 GtpVisibilityPreprocessor::AxisAlignedBox3 OgreMeshInstance::GetBox() const 23 23 { 24 return OgreTypeConverter::ConvertFromOgre(m Mesh->getWorldBoundingBox());24 return OgreTypeConverter::ConvertFromOgre(mEntity->getWorldBoundingBox()); 25 25 } 26 26 … … 71 71 ostream &OgreMeshInstance::Describe(ostream &s) 72 72 { 73 s << m Mesh;73 s << mEntity; 74 74 return s; 75 75 }
Note: See TracChangeset
for help on using the changeset viewer.