Merge pull request #710 from elect86/patch-3

Update gtx_matrix_interpolation.cpp, typo #710
This commit is contained in:
Christophe 2018-01-04 14:18:27 +01:00 committed by GitHub
commit e584028e6f
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;