15 #include "physxForceFieldShapeDesc.h" 16 #include "physxManager.h" 26 _name = name ? name :
"";
27 ptr()->name = _name.c_str();
35 void PhysxForceFieldShapeDesc::
47 void PhysxForceFieldShapeDesc::
59 void PhysxForceFieldShapeDesc::
60 set_hpr(
float h,
float p,
float r) {
77 const char *PhysxForceFieldShapeDesc::
void set_name(const char *name)
Sets a possible debug name.
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 ...
void extract_to_matrix(LMatrix3f &m) const
Based on the quat lib from VRPN.
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.
bool is_nan() const
Returns true if any component of the matrix 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 NxMat33 mat3_to_nxMat33(const LMatrix3f &m)
Converts from LMatrix3f to NxMat33.
void set_hpr(const LVecBase3f &hpr, CoordinateSystem cs=CS_default)
Sets the quaternion as the unit quaternion that is equivalent to these Euler angles.
This is the base quaternion class.
static LPoint3f nxVec3_to_point3(const NxVec3 &p)
Converts from NxVec3 to LPoint3f.
This is a 3-by-3 transform matrix.
static LMatrix4f nxMat34_to_mat4(const NxMat34 &m)
Converts from NxMat34 to LMatrix4f.