15 #include "physxPlane.h"
16 #include "physxManager.h"
26 nassertr(!p.
is_nan(), 0.0f);
39 nassertr(!p.
is_nan(),
false);
50 point_in_plane()
const {
76 nassertv(!transform.
is_nan());
100 nassertv(!transform.
is_nan());
146 nassertv(!normal.
is_nan());
161 nassertr(!p0.
is_nan(), plane);
162 nassertr(!p1.
is_nan(), plane);
163 nassertr(!p2.
is_nan(), plane);
180 plane._plane = _plane.zero();
static const LPoint3f & zero()
Returns a zero-length point.
static NxVec3 point3_to_nxVec3(const LPoint3f &p)
Converts from LPoint3f to NxVec3.
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 ...
bool is_nan() const
Returns true if any component of the vector is not-a-number, false otherwise.
static NxMat34 mat4_to_nxMat34(const LMatrix4f &m)
Converts from LMatrix4f to NxMat34.
This is a 4-by-4 transform matrix.
static NxVec3 vec3_to_nxVec3(const LVector3f &v)
Converts from LVector3f to NxVec3.
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.
bool is_nan() const
Returns true if any component of the matrix is not-a-number, false otherwise.