matrix_transform_2d.hpp
Go to the documentation of this file.
1 
38 #pragma once
39 
40 // Dependency:
41 #include "../mat3x3.hpp"
42 #include "../vec2.hpp"
43 
44 
45 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
46 # pragma message("GLM: GLM_GTX_matrix_transform_2d extension included")
47 #endif
48 
49 namespace glm
50 {
53 
58  template <typename T, precision P>
59  GLM_FUNC_QUALIFIER detail::tmat3x3<T, P> translate(
60  detail::tmat3x3<T, P> const & m,
61  detail::tvec2<T, P> const & v);
62 
67  template <typename T, precision P>
68  GLM_FUNC_QUALIFIER detail::tmat3x3<T, P> rotate(
69  detail::tmat3x3<T, P> const & m,
70  T const & angle);
71 
76  template <typename T, precision P>
77  GLM_FUNC_QUALIFIER detail::tmat3x3<T, P> scale(
78  detail::tmat3x3<T, P> const & m,
79  detail::tvec2<T, P> const & v);
80 
85  template <typename T, precision P>
86  GLM_FUNC_QUALIFIER detail::tmat3x3<T, P> shearX(
87  detail::tmat3x3<T, P> const & m,
88  T const & y);
89 
94  template <typename T, precision P>
95  GLM_FUNC_QUALIFIER detail::tmat3x3<T, P> shearY(
96  detail::tmat3x3<T, P> const & m,
97  T const & x);
98 
100 }//namespace glm
101 
102 #include "matrix_transform_2d.inl"
GLM_FUNC_DECL detail::tmat4x4< T, P > scale(detail::tmat4x4< T, P > const &m, detail::tvec3< T, P > const &v)
GLM_FUNC_DECL T angle(detail::tquat< T, P > const &x)
GLM_FUNC_QUALIFIER detail::tmat3x3< T, P > shearX(detail::tmat3x3< T, P > const &m, T const &y)
GLM_FUNC_QUALIFIER detail::tmat3x3< T, P > shearY(detail::tmat3x3< T, P > const &m, T const &x)
GLM_FUNC_DECL detail::tmat4x4< T, P > translate(detail::tmat4x4< T, P > const &m, detail::tvec3< T, P > const &v)
#define GLM_FUNC_QUALIFIER
Definition: setup.hpp:729
GLM_FUNC_DECL detail::tmat4x4< T, P > rotate(detail::tmat4x4< T, P > const &m, T const &angle, detail::tvec3< T, P > const &axis)


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:41:31