Ignore:
Timestamp:
10/09/06 22:38:07 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreMeshInstance.cpp

    r1028 r1593  
    66 
    77        OgreMeshInstance::OgreMeshInstance(Entity *ent): 
    8         GtpVisibilityPreprocessor::Intersectable(), mMesh(ent) 
     8        GtpVisibilityPreprocessor::Intersectable(), mEntity(ent) 
    99        { 
    1010        } 
    1111 
    12         void OgreMeshInstance::SetMesh(Entity *mesh) 
     12        void OgreMeshInstance::SetEntity(Entity *entity) 
    1313        { 
    14                 mMesh = mesh; 
     14                mEntity = entity; 
    1515        } 
    1616 
    17         Entity *OgreMeshInstance::GetMesh() const 
     17        Entity *OgreMeshInstance::GetEntity() const 
    1818        {  
    19                 return mMesh;  
     19                return mEntity;  
    2020        } 
    2121         
    2222        GtpVisibilityPreprocessor::AxisAlignedBox3 OgreMeshInstance::GetBox() const 
    2323        { 
    24                 return OgreTypeConverter::ConvertFromOgre(mMesh->getWorldBoundingBox()); 
     24                return OgreTypeConverter::ConvertFromOgre(mEntity->getWorldBoundingBox()); 
    2525        } 
    2626 
     
    7171        ostream &OgreMeshInstance::Describe(ostream &s) 
    7272        { 
    73                 s << mMesh; 
     73                s << mEntity; 
    7474                return s; 
    7575        } 
Note: See TracChangeset for help on using the changeset viewer.