PxMat44T
Defined in include/foundation/PxMat44.h
-
template<class Type>
class PxMat44T 4x4 matrix class
This class is layout-compatible with D3D and OpenGL matrices. More notes on layout are given in the PxMat33
See also
PxMat33 PxTransform
Public Functions
-
inline PxMat44T()
Default constructor.
-
inline PxMat44T(PxIDENTITY)
identity constructor
-
inline PxMat44T(PxZERO)
zero constructor
-
inline PxMat44T(const PxVec4T<Type> &col0, const PxVec4T<Type> &col1, const PxVec4T<Type> &col2, const PxVec4T<Type> &col3)
Construct from four 4-vectors.
-
inline PxMat44T(const PxVec3T<Type> &col0, const PxVec3T<Type> &col1, const PxVec3T<Type> &col2, const PxVec3T<Type> &col3)
Construct from three base vectors and a translation.
-
inline PxMat44T(const PxMat33T<Type> &axes, const PxVec3T<Type> &position)
Construct from Mat33 and a translation.
-
inline PxMat44T(const PxTransform &t)
-
inline const PxVec4T<Type> transform(const PxVec4T<Type> &other) const
Transform vector by matrix, equal to v’ = M*v.
-
inline const PxVec3T<Type> transform(const PxVec3T<Type> &other) const
Transform vector by matrix, equal to v’ = M*v.
-
inline const PxVec4T<Type> rotate(const PxVec4T<Type> &other) const
Rotate vector by matrix, equal to v’ = M*v.
-
inline const PxVec3T<Type> rotate(const PxVec3T<Type> &other) const
Rotate vector by matrix, equal to v’ = M*v.
-
inline bool isFinite() const
Public Members
-
inline PxMat44T()