Added quaternion EXT extensions

This commit is contained in:
Christophe Riccio
2018-08-07 13:55:13 +02:00
parent c191e6cfe9
commit 8c9d16d868
32 changed files with 1174 additions and 825 deletions

View File

@@ -26,7 +26,7 @@ int test_axisAngle()
std::cout << "dltAxis: (" << dltAxis.x << ", " << dltAxis.y << ", " << dltAxis.z << "), dltAngle: " << dltAngle << std::endl;
glm::fquat q = glm::quat_cast(dltRotation);
glm::quat q = glm::quat_cast(dltRotation);
std::cout << "q: (" << q.x << ", " << q.y << ", " << q.z << ", " << q.w << ")" << std::endl;
float yaw = glm::yaw(q);
std::cout << "Yaw: " << yaw << std::endl;