source:
GTP/trunk/App/Demos/Illum/pathmap/BoundingBox.hpp
@
2197
Revision 2197, 252 bytes checked in by szirmay, 18 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[2197] | 1 | #pragma once |
2 | #include "Vector.hpp" | |
3 | ||
4 | class BoundingBox { | |
5 | public: | |
6 | Vector minPoint; | |
7 | Vector maxPoint; | |
8 | ||
9 | //! returns the center of the BoundingBox | |
10 | Vector getCentre (void) { | |
11 | Vector centre; | |
12 | centre = (minPoint + maxPoint) * 0.5; | |
13 | return centre; | |
14 | } | |
15 | }; |
Note: See TracBrowser
for help on using the repository browser.