diff --git a/glm/gtc/type_ptr.hpp b/glm/gtc/type_ptr.hpp index 6f04617c..e1612e80 100644 --- a/glm/gtc/type_ptr.hpp +++ b/glm/gtc/type_ptr.hpp @@ -298,7 +298,7 @@ namespace glm //! Build a vector from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tvec2 make_vec2(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tvec2 make_vec2(T const * const ptr) { detail::tvec2 Result; memcpy(value_ptr(Result), ptr, sizeof(detail::tvec2)); @@ -308,7 +308,7 @@ namespace glm //! Build a vector from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tvec3 make_vec3(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tvec3 make_vec3(T const * const ptr) { detail::tvec3 Result; memcpy(value_ptr(Result), ptr, sizeof(detail::tvec3)); @@ -318,7 +318,7 @@ namespace glm //! Build a vector from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tvec4 make_vec4(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tvec4 make_vec4(T const * const ptr) { detail::tvec4 Result; memcpy(value_ptr(Result), ptr, sizeof(detail::tvec4)); @@ -328,7 +328,7 @@ namespace glm //! Build a matrix from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tmat2x2 make_mat2x2(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tmat2x2 make_mat2x2(T const * const ptr) { detail::tmat2x2 Result; memcpy(value_ptr(Result), ptr, sizeof(detail::tmat2x2)); @@ -338,7 +338,7 @@ namespace glm //! Build a matrix from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tmat2x3 make_mat2x3(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tmat2x3 make_mat2x3(T const * const ptr) { detail::tmat2x3 Result; memcpy(value_ptr(Result), ptr, sizeof(detail::tmat2x3)); @@ -348,7 +348,7 @@ namespace glm //! Build a matrix from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tmat2x4 make_mat2x4(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tmat2x4 make_mat2x4(T const * const ptr) { detail::tmat2x4 Result; memcpy(value_ptr(Result), ptr, sizeof(detail::tmat2x4)); @@ -358,7 +358,7 @@ namespace glm //! Build a matrix from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tmat3x2 make_mat3x2(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tmat3x2 make_mat3x2(T const * const ptr) { detail::tmat3x2 Result; memcpy(value_ptr(Result), ptr, sizeof(detail::tmat3x2)); @@ -368,7 +368,7 @@ namespace glm //! Build a matrix from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tmat3x3 make_mat3x3(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tmat3x3 make_mat3x3(T const * const ptr) { detail::tmat3x3 Result; memcpy(value_ptr(Result), ptr, sizeof(detail::tmat3x3)); @@ -378,7 +378,7 @@ namespace glm //! Build a matrix from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tmat3x4 make_mat3x4(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tmat3x4 make_mat3x4(T const * const ptr) { detail::tmat3x4 Result; memcpy(value_ptr(Result), ptr, sizeof(detail::tmat3x4)); @@ -389,7 +389,7 @@ namespace glm //! Build a matrix from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tmat4x2 make_mat4x2(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tmat4x2 make_mat4x2(T const * const ptr) { detail::tmat4x2 Result; memcpy(value_ptr(Result), ptr, sizeof(detail::tmat4x2)); @@ -399,7 +399,7 @@ namespace glm //! Build a matrix from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tmat4x3 make_mat4x3(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tmat4x3 make_mat4x3(T const * const ptr) { detail::tmat4x3 Result; memcpy(value_ptr(Result), ptr, sizeof(detail::tmat4x3)); @@ -409,7 +409,7 @@ namespace glm //! Build a matrix from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tmat4x4 make_mat4x4(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tmat4x4 make_mat4x4(T const * const ptr) { detail::tmat4x4 Result; memcpy(value_ptr(Result), ptr, sizeof(detail::tmat4x4)); @@ -419,7 +419,7 @@ namespace glm //! Build a matrix from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tmat2x2 make_mat2(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tmat2x2 make_mat2(T const * const ptr) { return make_mat2x2(ptr); } @@ -427,7 +427,7 @@ namespace glm //! Build a matrix from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tmat3x3 make_mat3(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tmat3x3 make_mat3(T const * const ptr) { return make_mat3x3(ptr); } @@ -435,7 +435,7 @@ namespace glm //! Build a matrix from a pointer. //! From GLM_GTC_type_ptr extension. template - inline detail::tmat4x4 make_mat4(T const * const ptr) + GLM_FUNC_QUALIFIER detail::tmat4x4 make_mat4(T const * const ptr) { return make_mat4x4(ptr); }