cd_pqp.cpp File Reference Detailed DescriptionImplementation of the C interface for the PQP collision detection engine.
Definition in file cd_pqp.cpp.
Function Documentation
Adds a polyhedron to the pqp system. Note that pqp only accepts triangulated geometry. So spsheres and cylinders need to be triangulated to send them to pqp. This implies a reduction in the accuracy of the collision detection. Moreover, non-triangular faces of the polyhedron must be triangulated.
Definition at line 20 of file cd_pqp.cpp. References Error(). Referenced by InitPQPCD().
Test for collision.
Definition at line 50 of file cd_pqp.cpp. References AXIS_H, FALSE, HTransformGetElement(), and TRUE. Referenced by CheckCollisionPQP().
Deletes a given PQP object.
Definition at line 88 of file cd_pqp.cpp. Referenced by DeletePQPCD(). |
Follow us!