Changeset 1028 for GTP/trunk/Lib/Vis


Ignore:
Timestamp:
06/21/06 10:09:12 (19 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreMeshInstance.h

    r870 r1028  
    2525 
    2626 
    27  
    2827        //-- inherited functions from Intersectable 
    2928 
    30         /** Returns the mail of this box. 
    31         */ 
    32         GtpVisibilityPreprocessor::AxisAlignedBox3 GetBox(); 
     29        GtpVisibilityPreprocessor::AxisAlignedBox3 GetBox() const; 
    3330         
    3431        int CastRay(GtpVisibilityPreprocessor::Ray &ray); 
    3532         
    36         bool IsConvex(); 
    37         bool IsWatertight(); 
     33        bool IsConvex() const; 
     34        bool IsWatertight() const; 
    3835        float IntersectionComplexity(); 
    3936   
     
    4138        int Type() const; 
    4239 
    43         int GetRandomSurfacePoint(GtpVisibilityPreprocessor::Vector3 &point, GtpVisibilityPreprocessor::Vector3 &normal); 
     40        int GetRandomSurfacePoint(GtpVisibilityPreprocessor::Vector3 &point,  
     41                                                          GtpVisibilityPreprocessor::Vector3 &normal); 
    4442 
    4543        int GetRandomVisibleSurfacePoint(GtpVisibilityPreprocessor::Vector3 &point, 
     
    5452         
    5553        Entity *mMesh; 
    56         //AxisAlignedBox3 
    5754}; 
    5855 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreMeshInstance.cpp

    r870 r1028  
    2020        } 
    2121         
    22         GtpVisibilityPreprocessor::AxisAlignedBox3 OgreMeshInstance::GetBox() 
     22        GtpVisibilityPreprocessor::AxisAlignedBox3 OgreMeshInstance::GetBox() const 
    2323        { 
    2424                return OgreTypeConverter::ConvertFromOgre(mMesh->getWorldBoundingBox()); 
     
    3030        } 
    3131         
    32         bool OgreMeshInstance::IsConvex() 
     32        bool OgreMeshInstance::IsConvex() const 
    3333        { 
    3434                return true; 
    3535        } 
    3636 
    37         bool OgreMeshInstance::IsWatertight() 
     37        bool OgreMeshInstance::IsWatertight() const 
    3838        { 
    3939                return true; 
Note: See TracChangeset for help on using the changeset viewer.