type_ptr.hpp
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 
00042 
00043 
00044 
00045 
00046 
00047 
00048 
00049 
00050 
00051 
00052 
00053 
00054 
00055 
00056 
00057 
00058 
00059 #pragma once
00060 
00061 // Dependency:
00062 #include "../gtc/quaternion.hpp"
00063 #include "../vec2.hpp"
00064 #include "../vec3.hpp"
00065 #include "../vec4.hpp"
00066 #include "../mat2x2.hpp"
00067 #include "../mat2x3.hpp"
00068 #include "../mat2x4.hpp"
00069 #include "../mat3x2.hpp"
00070 #include "../mat3x3.hpp"
00071 #include "../mat3x4.hpp"
00072 #include "../mat4x2.hpp"
00073 #include "../mat4x3.hpp"
00074 #include "../mat4x4.hpp"
00075 #include <cstring>
00076 
00077 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
00078 #       pragma message("GLM: GLM_GTC_type_ptr extension included")
00079 #endif
00080 
00081 namespace glm
00082 {
00085 
00088         template<typename genType>
00089         GLM_FUNC_DECL typename genType::value_type const * value_ptr(genType const & vec);
00090 
00093         template<typename T>
00094         GLM_FUNC_DECL detail::tvec2<T, defaultp> make_vec2(T const * const ptr);
00095 
00098         template<typename T>
00099         GLM_FUNC_DECL detail::tvec3<T, defaultp> make_vec3(T const * const ptr);
00100 
00103         template<typename T>
00104         GLM_FUNC_DECL detail::tvec4<T, defaultp> make_vec4(T const * const ptr);
00105 
00108         template<typename T>
00109         GLM_FUNC_DECL detail::tmat2x2<T, defaultp> make_mat2x2(T const * const ptr);
00110 
00113         template<typename T>
00114         GLM_FUNC_DECL detail::tmat2x3<T, defaultp> make_mat2x3(T const * const ptr);
00115 
00118         template<typename T>
00119         GLM_FUNC_DECL detail::tmat2x4<T, defaultp> make_mat2x4(T const * const ptr);
00120 
00123         template<typename T>
00124         GLM_FUNC_DECL detail::tmat3x2<T, defaultp> make_mat3x2(T const * const ptr);
00125 
00128         template<typename T>
00129         GLM_FUNC_DECL detail::tmat3x3<T, defaultp> make_mat3x3(T const * const ptr);
00130 
00133         template<typename T>
00134         GLM_FUNC_DECL detail::tmat3x4<T, defaultp> make_mat3x4(T const * const ptr);
00135 
00138         template<typename T>
00139         GLM_FUNC_DECL detail::tmat4x2<T, defaultp> make_mat4x2(
00140                 T const * const ptr);
00141 
00144         template<typename T>
00145         GLM_FUNC_DECL detail::tmat4x3<T, defaultp> make_mat4x3(T const * const ptr);
00146 
00149         template<typename T>
00150         GLM_FUNC_DECL detail::tmat4x4<T, defaultp> make_mat4x4(T const * const ptr);
00151         
00154         template<typename T>
00155         GLM_FUNC_DECL detail::tmat2x2<T, defaultp> make_mat2(T const * const ptr);
00156 
00159         template<typename T>
00160         GLM_FUNC_DECL detail::tmat3x3<T, defaultp> make_mat3(T const * const ptr);
00161                 
00164         template<typename T>
00165         GLM_FUNC_DECL detail::tmat4x4<T, defaultp> make_mat4(T const * const ptr);
00166 
00169         template<typename T>
00170         GLM_FUNC_DECL detail::tquat<T, defaultp> make_quat(T const * const ptr);
00171 
00173 }//namespace glm
00174 
00175 #include "type_ptr.inl"


rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:28