PxMat34T
Defined in include/foundation/PxMat34.h
-
template<class Type>
class PxMat34T Basic mathematical 3x4 matrix, implemented as a 3x3 rotation matrix and a translation
See PxMat33 for the format of the rotation matrix.
Subclassed by PxMat34Padded
Public Functions
-
inline PxMat34T()
Default constructor.
-
inline PxMat34T(const PxVec3T<Type> &b0, const PxVec3T<Type> &b1, const PxVec3T<Type> &b2, const PxVec3T<Type> &b3)
Construct from four base vectors.
-
inline PxMat34T(const PxMat33T<Type> &other, const PxVec3T<Type> &t)
Construct from a 3x3 matrix and a translation vector.
-
inline explicit PxMat34T(const PxTransformT<Type> &other)
Construct from a PxTransformT<Type>
-
inline void setIdentity()
Set to identity matrix.
-
inline PxMat34T operator*(const PxMat33T<Type> &other) const
Matrix multiplication, extend the second matrix.
-
inline PxVec3T<Type> rotate(const PxVec3T<Type> &other) const
Transform vector by matrix, equal to v’ = M*v.
-
inline PxVec3T<Type> rotateTranspose(const PxVec3T<Type> &other) const
Transform vector by transpose of matrix, equal to v’ = M^t*v.
-
inline PxVec3T<Type> transformTranspose(const PxVec3T<Type> &other) const
Transform point by transposed matrix.
-
inline PxMat34T transformTranspose(const PxMat34T &other) const
Transform point by transposed matrix.
-
inline PxMat34T()