mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 02:04:35 +00:00
Fixed Ticket 135
This commit is contained in:
parent
e306f9f66a
commit
fe667e4a54
@ -449,7 +449,7 @@ namespace quaternion{
|
|||||||
Result.w = (m[1][2] - m[2][1]) * mult;
|
Result.w = (m[1][2] - m[2][1]) * mult;
|
||||||
Result.x = biggestVal;
|
Result.x = biggestVal;
|
||||||
Result.y = (m[0][1] + m[1][0]) * mult;
|
Result.y = (m[0][1] + m[1][0]) * mult;
|
||||||
Result.z = (m[2][1] + m[1][2]) * mult;
|
Result.z = (m[2][0] + m[0][2]) * mult;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
Result.w = (m[2][0] - m[0][2]) * mult;
|
Result.w = (m[2][0] - m[0][2]) * mult;
|
||||||
|
Loading…
Reference in New Issue
Block a user