Lines Matching refs:Matrix
23 * \brief Matrix utility functions
34 Matrix<T, Size+1, Size+1> translationMatrix (const Vector<T, Size>& translation);
37 Matrix<float, 2, 2> rotationMatrix (float radians);
38 Matrix<float, 2, 2> shearMatrix (const Vector<float, 2>& shear);
41 Matrix<float, 3, 3> rotationMatrixX (float radiansX);
42 Matrix<float, 3, 3> rotationMatrixY (float radiansY);
43 Matrix<float, 3, 3> rotationMatrixZ (float radiansZ);
47 // Builds a translation matrix for a homogenous coordinate system
49 inline Matrix<T, Len+1, Len+1> translationMatrix (const Vector<T, Len>& translation)
51 Matrix<T, Len+1, Len+1> res = Matrix<T, Len+1, Len+1>();
57 inline Matrix<float, 2, 2> rotationMatrix (float radians)
59 Matrix<float, 2, 2> mat;
71 inline Matrix<float, 2, 2> shearMatrix (const Vector<float, 2>& shear)
73 Matrix<float, 2, 2> mat;
81 inline Matrix<float, 3, 3> rotationMatrixX (float radiansX)
83 Matrix<float, 3, 3> mat(1.0f);
95 inline Matrix<float, 3, 3> rotationMatrixY (float radiansY)
97 Matrix<float, 3, 3> mat(1.0f);
109 inline Matrix<float, 3, 3> rotationMatrixZ (float radiansZ)
111 Matrix<float, 3, 3> mat(1.0f);