Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/new_class_id/src/lib/collision_detection/bounding_sphere.h @ 9854

Last change on this file since 9854 was 9715, checked in by bensch, 18 years ago

renamed newclassid to classid and newobjectlist to objectlist

File size: 529 bytes
Line 
1/*!
2 * @file bounding_sphere.h
3  *  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  ObjectListDeclaration(BoundingSphere);
17
18 public:
19  BoundingSphere();
20  virtual ~BoundingSphere();
21
22  inline const float getRadius () const { return this->radius; }
23
24 private:
25  float radius;
26};
27
28#endif /* _BOUNDING_SPHERE_H */
Note: See TracBrowser for help on using the repository browser.