source:
orxonox.OLD/orxonox/trunk/src/util/collision_detection/obb.h
@
4521
Last change on this file since 4521 was 4521, checked in by patrick, 19 years ago | |
---|---|
File size: 489 bytes |
Rev | Line | |
---|---|---|
[4510] | 1 | /*! |
[4511] | 2 | \file obb.h |
3 | \brief Definition of an OBB (Object aligned Bounding Box) | |
[4510] | 4 | |
5 | */ | |
6 | ||
[4511] | 7 | #ifndef _OBB_H |
8 | #define _OBB_H | |
[4510] | 9 | |
10 | #include "base_object.h" | |
[4514] | 11 | #include "bounding_volume.h" |
[4510] | 12 | |
13 | ||
[4511] | 14 | //! A class representing an extended bounding volume tree: an obb tree |
[4514] | 15 | class OBB : public BoundingVolume { |
[4510] | 16 | |
17 | public: | |
[4511] | 18 | OBB(); |
19 | virtual ~OBB(); | |
[4510] | 20 | |
21 | ||
[4521] | 22 | |
[4510] | 23 | private: |
[4521] | 24 | OBB* leftNode; //!< left node of the tree |
25 | OBB* rightNode; //!< right node of the tree | |
[4510] | 26 | }; |
27 | ||
[4511] | 28 | #endif /* _OBB_H */ |
Note: See TracBrowser
for help on using the repository browser.