Changeset 85 for trunk/VUT/Ogre/include
- Timestamp:
- 05/04/05 17:58:13 (19 years ago)
- Location:
- trunk/VUT/Ogre/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/include/OgrePlatformHierarchyInterface.h
r71 r85 77 77 */ 78 78 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 81 80 */ 82 SolidHalfBoundingBox *GetSolidHalfBoundingBox( int half);81 SolidHalfBoundingBox *GetSolidHalfBoundingBox(); 83 82 84 /** two halfesof an aabb.83 /** one renderable half of an aabb. 85 84 */ 86 SolidHalfBoundingBox *m HalfBoundingBox[2];85 SolidHalfBoundingBox *mSolidHalfBoundingBox; 87 86 88 87 SceneManager *mSceneManager; … … 91 90 Camera *mCamera; 92 91 AxisAlignedBox mBox; 93 92 94 93 std::vector<PlatformOcclusionQuery *> mOcclusionQueries; 95 94 }; -
trunk/VUT/Ogre/include/OgreSceneNodeHierarchyInterface.h
r74 r85 36 36 37 37 AxisAlignedBox *GetBoundingBox(GtpVisibility::HierarchyNode *node); 38 39 protected:40 41 42 38 }; 43 39 -
trunk/VUT/Ogre/include/OgreSolidHalfBoundingBox.h
r59 r85 15 15 public: 16 16 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 24 protected: 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 21 28 */ 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); 30 30 /** 31 31 Sets the material used for occlusion queries. … … 33 33 uses no lighting, no depth write, and no colours 34 34 */ 35 void setOcclusionQueryMaterial();35 void SetOcclusionQueryMaterial(); 36 36 /** Whether this half box is the first or the second half of the bounding box. 37 37 */
Note: See TracChangeset
for help on using the changeset viewer.