Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/util/collision_detection/bounding_sphere.h @ 4525

Last change on this file since 4525 was 4525, checked in by patrick, 19 years ago

orxonox/trunk: implemented some more bv, obb and bs functions now reached the point to start implementing it

File size: 496 bytes
Line 
1/*!
2    \file bounding_sphere.h
3    \brief Definition of a bounding sphere
4
5*/
6
7#ifndef _BOUNDING_SPHERE_H
8#define _BOUNDING_SPHERE_H
9
10#include "base_object.h"
11#include "bounding_volume.h"
12
13
14//! A class representing an extended bounding volume tree: an sphere
15class BoundingSphere : public BoundingVolume {
16
17 public:
18  BoundingSphere();
19  virtual ~BoundingSphere();
20
21  inline const float getRadius () const { return this->radius; }
22
23 private:
24  float radius;
25};
26
27#endif /* _BOUNDING_SPHERE_H */
Note: See TracBrowser for help on using the repository browser.