source: GTP/branches/IllumWPdeliver2008dec/IlluminationWP/demos/Standalone/PathMap [DirectX]/BoundingBox.hpp @ 3255

Revision 3255, 252 bytes checked in by szirmay, 15 years ago (diff)
Line 
1#pragma once
2#include "Vector.hpp"
3
4class BoundingBox {             
5public:
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.