22 #ifndef _ODERAYSHAPE_HH_
23 #define _ODERAYSHAPE_HH_
58 public:
virtual void Update();
63 public:
virtual void GetIntersection(
double &_dist, std::string &_entity);
69 public:
virtual void SetPoints(
const math::Vector3 &_posStart,
74 public: dGeomID ODEGeomId()
const;
80 private:
static void UpdateCallback(
void *_data, dGeomID _o1,
84 private: dGeomID geomId;
91 private:
class Intersection
97 public: std::string name;
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
boost::shared_ptr< ODEPhysics > ODEPhysicsPtr
Definition: ODETypes.hh:59
boost::shared_ptr< PhysicsEngine > PhysicsEnginePtr
Definition: PhysicsTypes.hh:125
Base class for Ray collision geometry.
Definition: RayShape.hh:40
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:113
Ray collision.
Definition: ODERayShape.hh:39