Changeset 86 for trunk/VUT/Ogre/include


Ignore:
Timestamp:
05/06/05 01:39:32 (19 years ago)
Author:
mattausch
Message:
 
Location:
trunk/VUT/Ogre/include
Files:
3 edited

Legend:

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

    r85 r86  
    6565        /** Issue a occlusion query for this node.  
    6666                @param node the current hierarchy node 
     67                @param wasVisible if the node was visible in the last frame 
    6768                @returns occlusion query for this node 
    6869        */ 
    69         GtpVisibility::OcclusionQuery *IssueOcclusionQuery(GtpVisibility::HierarchyNode *node); 
     70        GtpVisibility::OcclusionQuery *IssueOcclusionQuery( 
     71                GtpVisibility::HierarchyNode *node, const bool wasVisible); 
    7072 
    7173protected: 
  • trunk/VUT/Ogre/include/OgrePlatformOcclusionQuery.h

    r59 r86  
    2020        virtual ~PlatformOcclusionQuery(); 
    2121 
    22         virtual unsigned int GetQueryResult() const; 
    23         virtual bool ResultAvailable() const; 
     22        virtual bool GetQueryResult(unsigned int &queryResult, 
     23                const bool waitForResult) const; 
    2424        virtual void BeginQuery() const; 
    2525        virtual void EndQuery() const; 
  • trunk/VUT/Ogre/include/OgreSolidHalfBoundingBox.h

    r85 r86  
    1616 
    1717        SolidHalfBoundingBox(); 
    18         /** Sets up the first or second half of a solid bounding box. 
     18        /** Sets up the first or second half of a the solid box. 
    1919                @param aab the axis aligned bounding box 
    2020                @param isFirstHalf if it is the first or the second half 
     
    2222        void SetupBoundingBox(const AxisAlignedBox& aabb, const bool isFirstHalf); 
    2323         
    24 protected: 
    25     /** Builds the wireframe line list. 
     24        /** Builds the wireframe line list. 
    2625                @param aab the axis aligned bounding box for setting up the vertices 
    2726                @param first or second half of the box 
    2827    */ 
    2928        void SetupBoundingBoxVertices(const AxisAlignedBox& aab, const bool isFirstHalf); 
     29 
     30protected: 
     31    
    3032        /**  
    3133                Sets the material used for occlusion queries.  
Note: See TracChangeset for help on using the changeset viewer.