12 struct ALIGNAS( 16 ) Matrix44
15 static const Matrix44 identity;
18 static const Matrix44 bias;
26 static void Invert(
const Matrix44& matrix, Matrix44& out );
35 static void InverseTranspose(
const float m[ 16 ],
float* out );
42 static void Multiply(
const Matrix44& a,
const Matrix44& b, Matrix44& out );
51 static void TransformPoint(
const Vec4& vec,
const Matrix44& mat, Vec4* out );
60 static void TransformPoint(
const Vec3& vec,
const Matrix44& mat, Vec3* out );
69 static void TransformDirection(
const Vec3& dir,
const Matrix44& mat, Vec3* out );
78 Matrix44(
float xDeg,
float yDeg,
float zDeg )
80 MakeRotationXYZ( xDeg, yDeg, zDeg );
88 Matrix44(
const Matrix44& other );
91 explicit Matrix44(
const float* data );
97 Matrix44& operator=(
const Matrix44& other )
104 InitFrom( &other.m[ 0 ] );
113 void Scale(
float x,
float y,
float z );
116 void InitFrom(
const float* data );
128 void MakeLookAt(
const Vec3& eye,
const Vec3& center,
const Vec3& up );
139 void MakeProjection(
float fovDegrees,
float aspect,
float nearDepth,
float farDepth );
151 void MakeProjection(
float left,
float right,
float bottom,
float top,
float nearDepth,
float farDepth );
160 void MakeRotationXYZ(
float xDeg,
float yDeg,
float zDeg );
163 void Transpose( Matrix44& out )
const;
166 void Translate(
const Vec3& v );
Definition: AudioClip.hpp:4