Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/lib/collision_detection/collision.h @ 4586

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

orxonox/trunk: new feature in vector class, now can overtake values of a sVec3D, spawn tree alg, fast-math library, thats not used anymore :)

File size: 665 bytes
Line 
1/*!
2    \file collision.h
3    \brief Definition of a collision event
4
5*/
6
7#ifndef _COLLISION_H
8#define _COLLISION_H
9
10#include "base_object.h"
11#include "vector.h"
12
13
14class WorldEntity;
15class BoundingVolume;
16
17//! A class representing a simple collision
18class Collision : public BaseObject {
19
20 public:
21  Collision();
22  virtual ~Collision();
23
24 public:
25  Vector            pointOfImpact;              //!< point of impact, approximated via bounding volumes
26  WorldEntity*      body;                       //!< the collision body
27  BoundingVolume*   boundingVolume;             //!< reference to the bounding volume that fired the collision
28};
29
30#endif /* _COLLISION_H */
Note: See TracBrowser for help on using the repository browser.