mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 01:14:34 +00:00
Update quaternion.inl
This commit is contained in:
parent
3b3dcd7d03
commit
4581d25ec9
@ -172,6 +172,16 @@ namespace detail
|
|||||||
{
|
{
|
||||||
*this = quat_cast(m);
|
*this = quat_cast(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GLM_FUNC_DECL explicit operator tmat3<T, P>()
|
||||||
|
{
|
||||||
|
return mat3_cast(*this);
|
||||||
|
}
|
||||||
|
|
||||||
|
GLM_FUNC_DECL explicit operator tmat4<T, P>()
|
||||||
|
{
|
||||||
|
return mat4_cast(*this);
|
||||||
|
}
|
||||||
|
|
||||||
template <typename T, precision P>
|
template <typename T, precision P>
|
||||||
GLM_FUNC_QUALIFIER tquat<T, P> conjugate(tquat<T, P> const & q)
|
GLM_FUNC_QUALIFIER tquat<T, P> conjugate(tquat<T, P> const & q)
|
||||||
|
Loading…
Reference in New Issue
Block a user