mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 02:34:35 +00:00
Fixed ticket #124 cast from mat* to quat undefined error
This commit is contained in:
parent
204a6bf612
commit
b2cb4fe479
@ -88,7 +88,7 @@ namespace detail{
|
|||||||
tmat3x3<T> const & m
|
tmat3x3<T> const & m
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
*this = toQuat(m);
|
*this = gtc::quaternion::quat_cast(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
@ -97,7 +97,7 @@ namespace detail{
|
|||||||
tmat4x4<T> const & m
|
tmat4x4<T> const & m
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
*this = toQuat(m);
|
*this = gtc::quaternion::quat_cast(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user