mirror of
https://github.com/g-truc/glm.git
synced 2024-11-16 23:04:35 +00:00
Update quaternion.inl
This commit is contained in:
parent
7ba519491e
commit
b4e49055d5
@ -246,7 +246,7 @@ namespace glm
|
|||||||
|
|
||||||
result[0] = normalize(cross(up, direction));
|
result[0] = normalize(cross(up, direction));
|
||||||
result[1] = cross(direction, result[0]);
|
result[1] = cross(direction, result[0]);
|
||||||
result[2] = direction;
|
result[2] = direction;
|
||||||
|
|
||||||
return quat_cast(result);
|
return quat_cast(result);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user