mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Update quaternion.inl
This commit is contained in:
parent
36075c4994
commit
017e97d554
@ -173,12 +173,14 @@ namespace detail
|
|||||||
*this = quat_cast(m);
|
*this = quat_cast(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
GLM_FUNC_DECL explicit operator tmat3<T, P>()
|
template <typename T, precision P>
|
||||||
|
GLM_FUNC_QUALIFIER tquat<T, P>::operator tmat3x3<T, P>()
|
||||||
{
|
{
|
||||||
return mat3_cast(*this);
|
return mat3_cast(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
GLM_FUNC_DECL explicit operator tmat4<T, P>()
|
template <typename T, precision P>
|
||||||
|
GLM_FUNC_QUALIFIER tquat<T, P>::operator tmat4x4<T, P>()
|
||||||
{
|
{
|
||||||
return mat4_cast(*this);
|
return mat4_cast(*this);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user