Update quaternion.inl

master
CaptainCarrot ago%!(EXTRA string=8 years) committed by GitHub
parent 1fe48f0d09
commit 3669256fd1
  1. 4
      glm/gtx/quaternion.inl

@ -230,7 +230,7 @@ namespace glm
{
mat<3, 3, T, Q> Result;
Result[2] = -normalize(direction);
Result[2] = -direction;
Result[0] = normalize(cross(up, Result[2]));
Result[1] = cross(Result[2], Result[0]);
@ -242,7 +242,7 @@ namespace glm
{
mat<3, 3, T, Q> Result;
Result[2] = normalize(direction);
Result[2] = direction;
Result[0] = normalize(cross(up, Result[2]));
Result[1] = cross(Result[2], Result[0]);

Loading…
Cancel
Save