Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 4536 was 4526, checked in by patrick, 20 years ago

orxonox/trunk: some minor changes, flushing workstate

File size: 679 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 sVec3D;
16class BoundingVolume;
17
18//! A class representing a simple collision
19class Collision : public BaseObject {
20
21 public:
22  Collision();
23  virtual ~Collision();
24
25 public:
26  Vector            pointOfImpact;              //!< point of impact, approximated via bounding volumes
27  WorldEntity*      body;                       //!< the collision body
28  BoundingVolume*   boundingVolume;             //!< reference to the bounding volume that fired the collision
29};
30
31#endif /* _COLLISION_H */
Note: See TracBrowser for help on using the repository browser.