source: trunk/VUT/OcclusionCullingSceneManager/include/OgreSolidBoundingBox.h @ 25

Revision 25, 759 bytes checked in by gametools, 20 years ago (diff)
RevLine 
[25]1#ifndef _SolidBoundingBox_H__
2#define _SolidBoundingBox_H__
3
4#include "OgrePrerequisites.h"
5
6#include "OgreWireBoundingBox.h"
7
8namespace Ogre {
9
10    /** Allows the rendering of a solid bounding box.
11        @remarks
12            This class builds a wireframe renderable from a given aabb. A pointer to this class can be
13                        added to a render queue to display the bounding box of an object.
14    */
15        class SolidBoundingBox : public WireBoundingBox
16        {
17    protected:
18       
19        /** Builds the wireframe line list.
20        */
21                void setupBoundingBoxVertices(const AxisAlignedBox& aab);
22               
23        public:
24               
25                bool mIsFirstHalf;
26                void setupBoundingBox(const AxisAlignedBox& aabb);
27                SolidBoundingBox();
28        };
29
30}// namespace
31
32#endif
33
34
Note: See TracBrowser for help on using the repository browser.