Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/collision_detection/bounding_sphere.h @ 10022

Last change on this file since 10022 was 9869, checked in by bensch, 18 years ago

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 529 bytes
RevLine 
[9869]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]15class BoundingSphere : public BoundingVolume {
[9869]16  ObjectListDeclaration(BoundingSphere);
[4513]17
18 public:
19  BoundingSphere();
20  virtual ~BoundingSphere();
21
[4525]22  inline const float getRadius () const { return this->radius; }
[4513]23
24 private:
[4525]25  float radius;
[4513]26};
27
28#endif /* _BOUNDING_SPHERE_H */
Note: See TracBrowser for help on using the repository browser.