Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040 
00041 #ifndef GLM_GTX_transform 
00042 #define GLM_GTX_transform GLM_VERSION
00043 
00044 
00045 #include "../glm.hpp"
00046 #include "../gtc/matrix_transform.hpp"
00047 
00048 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
00049 #       pragma message("GLM: GLM_GTX_transform extension included")
00050 #endif
00051 
00052 namespace glm
00053 {
00056 
00059         
00060         template <typename T> 
00061         detail::tmat4x4<T> translate(
00062                 T x, T y, T z);
00063                 
00066         
00067         template <typename T> 
00068         detail::tmat4x4<T> translate(
00069                 detail::tmat4x4<T> const & m, 
00070                 T x, T y, T z);
00071                 
00074         
00075         template <typename T> 
00076         detail::tmat4x4<T> translate(
00077                 detail::tvec3<T> const & v);
00078 
00081         
00082         template <typename T> 
00083         detail::tmat4x4<T> rotate(
00084                 T angle, 
00085                 T x, T y, T z);
00086 
00089         
00090         template <typename T> 
00091         detail::tmat4x4<T> rotate(
00092                 T angle, 
00093                 detail::tvec3<T> const & v);
00094 
00097         
00098         template <typename T> 
00099         detail::tmat4x4<T> rotate(
00100                 detail::tmat4x4<T> const & m, 
00101                 T angle, 
00102                 T x, T y, T z);
00103                 
00106         
00107         template <typename T> 
00108         detail::tmat4x4<T> scale(
00109                 T x, T y, T z);
00110                 
00113         
00114         template <typename T> 
00115         detail::tmat4x4<T> scale(
00116                 detail::tmat4x4<T> const & m, 
00117                 T x, T y, T z);
00118 
00121         
00122         template <typename T> 
00123         detail::tmat4x4<T> scale(
00124                 detail::tvec3<T> const & v);
00125 
00127 }
00128 
00129 #include "transform.inl"
00130 
00131 #endif//GLM_GTX_transform