mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Update gtx_matrix_interpolation.cpp
This commit is contained in:
parent
1190ae0b0e
commit
5d0fa00c39
@ -24,7 +24,7 @@ int test_axisAngle()
|
||||
float dltAngle = 0.0f;
|
||||
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);
|
||||
std::cout << "q: (" << q.x << ", " << q.y << ", " << q.z << ", " << q.w << ")" << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user