GraphicsAPI_2020C
|
GLM_EXT_matrix_transform More...
#include "../gtc/constants.hpp"
#include "../geometric.hpp"
#include "../trigonometric.hpp"
#include "../matrix.hpp"
#include "matrix_transform.inl"
Go to the source code of this file.
Namespaces | |
glm | |
Core features | |
Functions | |
template<typename genType > | |
GLM_FUNC_DECL GLM_CONSTEXPR genType | glm::identity () |
Builds an identity matrix. | |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL mat< 4, 4, T, Q > | glm::translate (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v) |
Builds a translation 4 * 4 matrix created from a vector of 3 components. More... | |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL mat< 4, 4, T, Q > | glm::rotate (mat< 4, 4, T, Q > const &m, T angle, vec< 3, T, Q > const &axis) |
Builds a rotation 4 * 4 matrix created from an axis vector and an angle. More... | |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL mat< 4, 4, T, Q > | glm::scale (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v) |
Builds a scale 4 * 4 matrix created from 3 scalars. More... | |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL mat< 4, 4, T, Q > | glm::lookAtRH (vec< 3, T, Q > const &eye, vec< 3, T, Q > const ¢er, vec< 3, T, Q > const &up) |
Build a right handed look at view matrix. More... | |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL mat< 4, 4, T, Q > | glm::lookAtLH (vec< 3, T, Q > const &eye, vec< 3, T, Q > const ¢er, vec< 3, T, Q > const &up) |
Build a left handed look at view matrix. More... | |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL mat< 4, 4, T, Q > | glm::lookAt (vec< 3, T, Q > const &eye, vec< 3, T, Q > const ¢er, vec< 3, T, Q > const &up) |
Build a look at view matrix based on the default handedness. More... | |