5#include <Common/primitive_type.h>
22 using Elements = std::array<std::array<T, 4>, 4>;
Represents a 4x4 matrix.
Definition TMatrix4.h:17
static TMatrix4 makeIdentity()
Definition TMatrix4.ipp:15
TMatrix4(const TMatrix4 &other)=default
TMatrix4 mul(const TMatrix4 &rhs) const
Definition TMatrix4.ipp:150
TMatrix4 & initRotation(const TQuaternion< T > &rot)
Definition TMatrix4.ipp:79
TMatrix4 & mulLocal(T rhs)
Definition TMatrix4.ipp:196
std::string toString() const
Definition TMatrix4.ipp:321
std::array< std::array< T, 4 >, 4 > Elements
Definition TMatrix4.h:22
TMatrix4 & initScale(T x, T y, T z)
Definition TMatrix4.ipp:116
bool isEqual(const TMatrix4 &other) const
Definition TMatrix4.ipp:302
T determinant() const
Definition TMatrix4.ipp:281
TMatrix4 & initTranslation(T x, T y, T z)
Definition TMatrix4.ipp:62
Elements m
Definition TMatrix4.h:24
TMatrix4 & initPerspectiveProjection(T fov, T aspectRatio, T zNear, T zFar)
Definition TMatrix4.ipp:133
TMatrix4 & initIdentity()
Definition TMatrix4.ipp:51
TMatrix4 & inverse(TMatrix4 *out_result) const
Definition TMatrix4.ipp:222
TMatrix4 transpose() const
Definition TMatrix4.ipp:266
Represents a quaternion.
Definition TQuaternion.h:17
Represents a 3-D vector.
Definition TVector3.h:17
Math functions and utilities.
Definition TransformInfo.h:10