Ignore:
Timestamp:
05/04/05 17:58:13 (19 years ago)
Author:
mattausch
Message:

corrected bug so chc is much faster than stop and wait

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/Ogre/include/OgreSolidHalfBoundingBox.h

    r59 r85  
    1515public: 
    1616 
    17         SolidHalfBoundingBox(bool isFirstHalf); 
    18         void setupBoundingBox(const AxisAlignedBox& aabb); 
    19         /** Override this method to prevent parent transforms (rotation,translation,scale) 
    20                 and to make it public. 
     17        SolidHalfBoundingBox(); 
     18        /** Sets up the first or second half of a solid bounding box. 
     19                @param aab the axis aligned bounding box 
     20                @param isFirstHalf if it is the first or the second half 
     21        */ 
     22        void SetupBoundingBox(const AxisAlignedBox& aabb, const bool isFirstHalf); 
     23         
     24protected: 
     25    /** Builds the wireframe line list. 
     26                @param aab the axis aligned bounding box for setting up the vertices 
     27                @param first or second half of the box 
    2128    */ 
    22         void getWorldTransforms(Matrix4* xform) const; 
    23  
    24 protected: 
    25      
    26     /** Builds the wireframe line list. 
    27                 @param aab the axis aligned bounding box for setting up the list. 
    28     */ 
    29         void setupBoundingBoxVertices(const AxisAlignedBox& aab); 
     29        void SetupBoundingBoxVertices(const AxisAlignedBox& aab, const bool isFirstHalf); 
    3030        /**  
    3131                Sets the material used for occlusion queries.  
     
    3333                uses no lighting, no depth write, and no colours 
    3434        */ 
    35         void setOcclusionQueryMaterial(); 
     35        void SetOcclusionQueryMaterial(); 
    3636        /** Whether this half box is the first or the second half of the bounding box.  
    3737        */ 
Note: See TracChangeset for help on using the changeset viewer.