mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 09:14:34 +00:00
Merge pull request #710 from elect86/patch-3
Update gtx_matrix_interpolation.cpp, typo #710
This commit is contained in:
commit
e584028e6f
@ -24,7 +24,7 @@ int test_axisAngle()
|
|||||||
float dltAngle = 0.0f;
|
float dltAngle = 0.0f;
|
||||||
glm::axisAngle(dltRotation, dltAxis, dltAngle);
|
glm::axisAngle(dltRotation, dltAxis, dltAngle);
|
||||||
|
|
||||||
std::cout << "dltAngle: (" << dltAxis.x << ", " << dltAxis.y << ", " << dltAxis.z << "), dltAngle: " << dltAngle << std::endl;
|
std::cout << "dltAxis: (" << dltAxis.x << ", " << dltAxis.y << ", " << dltAxis.z << "), dltAngle: " << dltAngle << std::endl;
|
||||||
|
|
||||||
glm::fquat q = glm::quat_cast(dltRotation);
|
glm::fquat q = glm::quat_cast(dltRotation);
|
||||||
std::cout << "q: (" << q.x << ", " << q.y << ", " << q.z << ", " << q.w << ")" << std::endl;
|
std::cout << "q: (" << q.x << ", " << q.y << ", " << q.z << ", " << q.w << ")" << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user