Changeset 85 for trunk/VUT/Ogre/include


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

Location:
trunk/VUT/Ogre/include
Files:
3 edited

Legend:

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

    r71 r85  
    7777        */ 
    7878        void RenderBoundingBox(AxisAlignedBox *box); 
    79         /** Returns one half of the bounding box. 
    80                 @param half the half index of the bouding box (0 or 1) 
     79        /** Returns pointer to current renderable half bounding box geometry 
    8180        */ 
    82         SolidHalfBoundingBox *GetSolidHalfBoundingBox(int half); 
     81        SolidHalfBoundingBox *GetSolidHalfBoundingBox(); 
    8382 
    84         /** two halfes of an aabb.  
     83        /** one renderable half of an aabb.  
    8584        */ 
    86         SolidHalfBoundingBox *mHalfBoundingBox[2];       
     85        SolidHalfBoundingBox *mSolidHalfBoundingBox; 
    8786 
    8887        SceneManager *mSceneManager; 
     
    9190        Camera *mCamera; 
    9291        AxisAlignedBox mBox; 
    93  
     92         
    9493        std::vector<PlatformOcclusionQuery *> mOcclusionQueries; 
    9594}; 
  • trunk/VUT/Ogre/include/OgreSceneNodeHierarchyInterface.h

    r74 r85  
    3636 
    3737        AxisAlignedBox *GetBoundingBox(GtpVisibility::HierarchyNode *node); 
    38  
    39 protected: 
    40          
    41          
    4238}; 
    4339 
  • 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.