mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 16:14:45 +02:00
PR Fixes
This commit is contained in:
parent
7ba03418fc
commit
28543c0bf2
2 changed files with 5 additions and 6 deletions
|
@ -17,9 +17,6 @@
|
|||
|
||||
#include "AngularConstraintTests.h"
|
||||
|
||||
|
||||
QTEST_MAIN(AngularConstraintTests)
|
||||
|
||||
// Computes the error value between two quaternions (using glm::dot)
|
||||
float getErrorDifference(const glm::quat& a, const glm::quat& b) {
|
||||
return fabsf(glm::dot(a, b) - 1.0f);
|
||||
|
@ -28,6 +25,8 @@ QTextStream & operator << (QTextStream & stream, const glm::quat & q) {
|
|||
return stream << "glm::quat { " << q.x << ", " << q.y << ", " << q.z << ", " << q.w << " }";
|
||||
}
|
||||
|
||||
QTEST_MAIN(AngularConstraintTests)
|
||||
|
||||
void AngularConstraintTests::testHingeConstraint() {
|
||||
float minAngle = -PI;
|
||||
float maxAngle = 0.0f;
|
||||
|
|
Loading…
Reference in a new issue