|
| DMat44 ()=default |
| Constructor.
|
|
JPH_INLINE | DMat44 (Vec4Arg inC1, Vec4Arg inC2, Vec4Arg inC3, DVec3Arg inC4) |
|
| DMat44 (const DMat44 &inM2)=default |
|
DMat44 & | operator= (const DMat44 &inM2)=default |
|
JPH_INLINE | DMat44 (Mat44Arg inM) |
|
JPH_INLINE | DMat44 (Mat44Arg inRot, DVec3Arg inT) |
|
JPH_INLINE | DMat44 (Type inC1, Type inC2, Type inC3, DTypeArg inC4) |
|
JPH_INLINE Mat44 | ToMat44 () const |
| Convert to Mat44 rounding to nearest.
|
|
JPH_INLINE bool | operator== (DMat44Arg inM2) const |
| Comparison.
|
|
JPH_INLINE bool | operator!= (DMat44Arg inM2) const |
|
JPH_INLINE bool | IsClose (DMat44Arg inM2, float inMaxDistSq=1.0e-12f) const |
| Test if two matrices are close.
|
|
JPH_INLINE DMat44 | operator* (Mat44Arg inM) const |
| Multiply matrix by matrix.
|
|
JPH_INLINE DMat44 | operator* (DMat44Arg inM) const |
| Multiply matrix by matrix.
|
|
JPH_INLINE DVec3 | operator* (Vec3Arg inV) const |
| Multiply vector by matrix.
|
|
JPH_INLINE DVec3 | operator* (DVec3Arg inV) const |
| Multiply vector by matrix.
|
|
JPH_INLINE Vec3 | Multiply3x3 (Vec3Arg inV) const |
| Multiply vector by only 3x3 part of the matrix.
|
|
JPH_INLINE DVec3 | Multiply3x3 (DVec3Arg inV) const |
| Multiply vector by only 3x3 part of the matrix.
|
|
JPH_INLINE Vec3 | Multiply3x3Transposed (Vec3Arg inV) const |
| Multiply vector by only 3x3 part of the transpose of the matrix ( \(result = this^T \: inV\))
|
|
JPH_INLINE DMat44 | PreScaled (Vec3Arg inScale) const |
| Scale a matrix: result = this * Mat44::sScale(inScale)
|
|
JPH_INLINE DMat44 | PostScaled (Vec3Arg inScale) const |
| Scale a matrix: result = Mat44::sScale(inScale) * this.
|
|
JPH_INLINE DMat44 | PreTranslated (Vec3Arg inTranslation) const |
| Pre multiply by translation matrix: result = this * Mat44::sTranslation(inTranslation)
|
|
JPH_INLINE DMat44 | PreTranslated (DVec3Arg inTranslation) const |
| Pre multiply by translation matrix: result = this * Mat44::sTranslation(inTranslation)
|
|
JPH_INLINE DMat44 | PostTranslated (Vec3Arg inTranslation) const |
| Post multiply by translation matrix: result = Mat44::sTranslation(inTranslation) * this (i.e. add inTranslation to the 4-th column)
|
|
JPH_INLINE DMat44 | PostTranslated (DVec3Arg inTranslation) const |
| Post multiply by translation matrix: result = Mat44::sTranslation(inTranslation) * this (i.e. add inTranslation to the 4-th column)
|
|
JPH_INLINE Vec3 | GetAxisX () const |
| Access to the columns.
|
|
JPH_INLINE void | SetAxisX (Vec3Arg inV) |
|
JPH_INLINE Vec3 | GetAxisY () const |
|
JPH_INLINE void | SetAxisY (Vec3Arg inV) |
|
JPH_INLINE Vec3 | GetAxisZ () const |
|
JPH_INLINE void | SetAxisZ (Vec3Arg inV) |
|
JPH_INLINE DVec3 | GetTranslation () const |
|
JPH_INLINE void | SetTranslation (DVec3Arg inV) |
|
JPH_INLINE Vec3 | GetColumn3 (uint inCol) const |
|
JPH_INLINE void | SetColumn3 (uint inCol, Vec3Arg inV) |
|
JPH_INLINE Vec4 | GetColumn4 (uint inCol) const |
|
JPH_INLINE void | SetColumn4 (uint inCol, Vec4Arg inV) |
|
JPH_INLINE Mat44 | Transposed3x3 () const |
| Transpose 3x3 subpart of matrix.
|
|
JPH_INLINE DMat44 | Inversed () const |
| Inverse 4x4 matrix.
|
|
JPH_INLINE DMat44 | InversedRotationTranslation () const |
| Inverse 4x4 matrix when it only contains rotation and translation.
|
|
JPH_INLINE Mat44 | GetRotation () const |
| Get rotation part only (note: retains the first 3 values from the bottom row)
|
|
JPH_INLINE void | SetRotation (Mat44Arg inRotation) |
| Updates the rotation part of this matrix (the first 3 columns)
|
|
JPH_INLINE Quat | GetQuaternion () const |
| Convert to quaternion.
|
|
JPH_INLINE Mat44 | GetDirectionPreservingMatrix () const |
| Get matrix that transforms a direction with the same transform as this matrix (length is not preserved)
|
|
JPH_INLINE DMat44 | Decompose (Vec3 &outScale) const |
| Works identical to Mat44::Decompose.
|
|
Holds a 4x4 matrix of floats with the last column consisting of doubles.