mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 01:14:34 +00:00
Add missing non-const value_ptr for quat
This commit is contained in:
parent
493b36cf15
commit
e841c1dbe0
@ -284,6 +284,17 @@ namespace glm
|
||||
return &(mat[0].x);
|
||||
}
|
||||
|
||||
//! Return the constant address to the data of the input parameter.
|
||||
/// @see gtc_type_ptr
|
||||
template<typename T, precision P>
|
||||
GLM_FUNC_QUALIFIER T * value_ptr
|
||||
(
|
||||
detail::tquat<T, P> & q
|
||||
)
|
||||
{
|
||||
return &(q[0]);
|
||||
}
|
||||
|
||||
//! Return the constant address to the data of the input parameter.
|
||||
/// @see gtc_type_ptr
|
||||
template<typename T, precision P>
|
||||
|
Loading…
Reference in New Issue
Block a user