source:
orxonox.OLD/orxonox/trunk/src/lib/collision_detection/bounding_sphere.h
@
5067
Last change on this file since 5067 was 5039, checked in by bensch, 19 years ago | |
---|---|
File size: 489 bytes |
Rev | Line | |
---|---|---|
[4513] | 1 | /*! |
[5039] | 2 | * @file bounding_sphere.h |
[4836] | 3 | * Definition of a bounding sphere |
[4513] | 4 | |
5 | */ | |
6 | ||
7 | #ifndef _BOUNDING_SPHERE_H | |
8 | #define _BOUNDING_SPHERE_H | |
9 | ||
10 | #include "base_object.h" | |
[4514] | 11 | #include "bounding_volume.h" |
[4513] | 12 | |
13 | ||
14 | //! A class representing an extended bounding volume tree: an sphere | |
[4514] | 15 | class BoundingSphere : public BoundingVolume { |
[4513] | 16 | |
17 | public: | |
18 | BoundingSphere(); | |
19 | virtual ~BoundingSphere(); | |
20 | ||
[4525] | 21 | inline const float getRadius () const { return this->radius; } |
[4513] | 22 | |
23 | private: | |
[4525] | 24 | float radius; |
[4513] | 25 | }; |
26 | ||
27 | #endif /* _BOUNDING_SPHERE_H */ |
Note: See TracBrowser
for help on using the repository browser.