transform.hpp
Go to the documentation of this file.
1 
41 #pragma once
42 
43 // Dependency:
44 #include "../glm.hpp"
45 #include "../gtc/matrix_transform.hpp"
46 
47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
48 # pragma message("GLM: GLM_GTX_transform extension included")
49 #endif
50 
51 namespace glm
52 {
55 
59  template <typename T, precision P>
60  GLM_FUNC_DECL detail::tmat4x4<T, P> translate(
61  detail::tvec3<T, P> const & v);
62 
66  template <typename T, precision P>
67  GLM_FUNC_DECL detail::tmat4x4<T, P> rotate(
68  T angle,
69  detail::tvec3<T, P> const & v);
70 
74  template <typename T, precision P>
75  GLM_FUNC_DECL detail::tmat4x4<T, P> scale(
76  detail::tvec3<T, P> const & v);
77 
79 }// namespace glm
80 
81 #include "transform.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_DECL detail::tmat4x4< T, P > translate(detail::tmat4x4< T, P > const &m, detail::tvec3< T, P > const &v)
#define GLM_FUNC_DECL
Definition: setup.hpp:728
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 Mon Dec 14 2020 03:37:06