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 )
108 void Scale(
float x,
float y,
float z );
111 void InitFrom(
const float* data );
123 void MakeLookAt(
const Vec3& eye,
const Vec3& center,
const Vec3& up );
134 void MakeProjection(
float fovDegrees,
float aspect,
float nearDepth,
float farDepth );
146 void MakeProjection(
float left,
float right,
float bottom,
float top,
float nearDepth,
float farDepth );
155 void MakeRotationXYZ(
float xDeg,
float yDeg,
float zDeg );
158 void Transpose( Matrix44& out )
const;
161 void Translate(
const Vec3& v );
Definition: AudioClip.hpp:4