added: quat::op+=(quat) and quat::op*=(quat)

This commit is contained in:
jan p springer
2013-11-22 21:46:30 +00:00
parent 137b296556
commit e299af614f
3 changed files with 42 additions and 11 deletions

View File

@@ -210,6 +210,15 @@ int test_quat_mul()
glm::quat temp5 = glm::normalize(temp1 * temp2);
glm::vec3 temp6 = temp5 * glm::vec3(0.0, 1.0, 0.0) * glm::inverse(temp5);
{
glm::quat temp7;
temp7 *= temp5;
temp7 *= glm::inverse(temp5);
Error += temp7 != glm::quat();
}
return Error;
}