|
|
@ -284,6 +284,14 @@ namespace glm |
|
|
|
return &(mat[0].x); |
|
|
|
return &(mat[0].x); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//! Get the address of the matrix content. |
|
|
|
|
|
|
|
/// @see gtc_type_ptr |
|
|
|
|
|
|
|
template<typename T> |
|
|
|
|
|
|
|
GLM_FUNC_QUALIFIER T * value_ptr(detail::tmat4x3<T> & mat) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return &(mat[0].x); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//! Return the constant address to the data of the input parameter. |
|
|
|
//! Return the constant address to the data of the input parameter. |
|
|
|
/// @see gtc_type_ptr |
|
|
|
/// @see gtc_type_ptr |
|
|
|
template<typename T> |
|
|
|
template<typename T> |
|
|
@ -295,12 +303,15 @@ namespace glm |
|
|
|
return &(q[0]); |
|
|
|
return &(q[0]); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//! Get the address of the matrix content. |
|
|
|
//! Return the constant address to the data of the input parameter. |
|
|
|
/// @see gtc_type_ptr |
|
|
|
/// @see gtc_type_ptr |
|
|
|
template<typename T> |
|
|
|
template<typename T> |
|
|
|
GLM_FUNC_QUALIFIER T * value_ptr(detail::tmat4x3<T> & mat) |
|
|
|
GLM_FUNC_QUALIFIER T * value_ptr |
|
|
|
|
|
|
|
( |
|
|
|
|
|
|
|
detail::tquat<T> & q |
|
|
|
|
|
|
|
) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return &(mat[0].x); |
|
|
|
return &(q[0]); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//! Build a vector from a pointer. |
|
|
|
//! Build a vector from a pointer. |
|
|
|