We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8b3be1 commit 91f98eaCopy full SHA for 91f98ea
common/quaternion_utils.cpp
@@ -26,7 +26,7 @@ quat RotationBetweenVectors(vec3 start, vec3 dest){
26
rotationAxis = cross(vec3(1.0f, 0.0f, 0.0f), start);
27
28
rotationAxis = normalize(rotationAxis);
29
- return angleAxis(180.0f, rotationAxis);
+ return angleAxis(glm::radians(180.0f), rotationAxis);
30
}
31
32
// Implementation from Stan Melax's Game Programming Gems 1 article
0 commit comments