Update gtx_matrix_interpolation.cpp

This commit is contained in:
Giuseppe Barbieri 2017-12-19 14:47:02 +01:00 committed by GitHub
parent 1190ae0b0e
commit 5d0fa00c39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;