Revert "Fix construction of identity quaternion"
This reverts commit 37842c7400e89962e542804083d407a1b8020e27.
This commit is contained in:
parent
43b81f49fc
commit
f6f3596a6b
@ -214,11 +214,7 @@ namespace detail
|
|||||||
{
|
{
|
||||||
GLM_FUNC_QUALIFIER GLM_CONSTEXPR static genType identity()
|
GLM_FUNC_QUALIFIER GLM_CONSTEXPR static genType identity()
|
||||||
{
|
{
|
||||||
# ifdef GLM_FORCE_QUAT_DATA_WXYZ
|
|
||||||
return genType(1, 0, 0, 0);
|
return genType(1, 0, 0, 0);
|
||||||
# else
|
|
||||||
return genType(0, 0, 0, 1);
|
|
||||||
# endif
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user