15 #include "physxRaycastHit.h" 16 #include "physxManager.h" 17 #include "physxShape.h" 24 bool PhysxRaycastHit::
27 return (_hit.shape == NULL);
38 nassertr_always(_hit.shape, NULL);
48 get_impact_pos()
const {
59 get_impact_normal()
const {
69 float PhysxRaycastHit::
70 get_distance()
const {
Abstract base class for shapes.
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
static LVector3f nxVec3_to_vec3(const NxVec3 &v)
Converts from NxVec3 to LVector3f.
static LPoint3f nxVec3_to_point3(const NxVec3 &p)
Converts from NxVec3 to LPoint3f.