|
1.0.0 API documentation
|
Go to the documentation of this file.
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_matrix_interpolation is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
22 # pragma message("GLM: GLM_GTX_matrix_interpolation extension included")
32 template<
typename T, qualifier Q>
34 mat<4, 4, T, Q>
const& Mat, vec<3, T, Q> & Axis, T & Angle);
38 template<
typename T, qualifier Q>
40 vec<3, T, Q>
const& Axis, T
const Angle);
44 template<
typename T, qualifier Q>
46 mat<4, 4, T, Q>
const& Mat);
51 template<
typename T, qualifier Q>
53 mat<4, 4, T, Q>
const& m1, mat<4, 4, T, Q>
const& m2, T
const Delta);
58 #include "matrix_interpolation.inl"
GLM_FUNC_DECL mat< 4, 4, T, Q > interpolate(mat< 4, 4, T, Q > const &m1, mat< 4, 4, T, Q > const &m2, T const Delta)
Build a interpolation of 4 * 4 matrixes.
GLM_FUNC_DECL void axisAngle(mat< 4, 4, T, Q > const &Mat, vec< 3, T, Q > &Axis, T &Angle)
Get the axis and angle of the rotation from a matrix.
GLM_FUNC_DECL mat< 4, 4, T, Q > axisAngleMatrix(vec< 3, T, Q > const &Axis, T const Angle)
Build a matrix from axis and angle.
GLM_FUNC_DECL mat< 4, 4, T, Q > extractMatrixRotation(mat< 4, 4, T, Q > const &Mat)
Extracts the rotation part of a matrix.