Physics::NearCallback Class Reference

Callback for collisions, used by World, wrapping ODE functionalities. More...

#include <World.h>

List of all members.

Public Member Functions

virtual void operator() (World *pWorld, AbstractGeom *pG1, AbstractGeom *pG2)
 Collision callback, using PVLE data. This is the method you should redefine.

Static Public Member Functions

static void toPVLENearCallback (void *data, dGeomID o1, dGeomID o2)
 Collision callback that cast ODE data to PVLE data.


Detailed Description

Callback for collisions, used by World, wrapping ODE functionalities.

Definition at line 75 of file World.h.


Member Function Documentation

void Physics::NearCallback::operator() ( World pWorld,
AbstractGeom pG1,
AbstractGeom pG2 
) [virtual]

void Physics::NearCallback::toPVLENearCallback ( void *  data,
dGeomID  o1,
dGeomID  o2 
) [static]

Collision callback that cast ODE data to PVLE data.

Definition at line 46 of file World.cpp.

References ASSERT, and Physics::World::getNearCallback().

Referenced by Physics::World::spaceCollide(), and Physics::World::spaceCollide2().


The documentation for this class was generated from the following files:

Generated on Sun Jan 17 11:39:37 2010 for PVLE (Pro-Vocation Light Engine) by  doxygen 1.5.9