mirror of
https://github.com/overte-org/overte.git
synced 2025-06-28 13:09:50 +02:00
remove another dupe unit-test util
This commit is contained in:
parent
6dfbf7f70a
commit
f4e77b8200
1 changed files with 0 additions and 4 deletions
|
@ -23,10 +23,6 @@
|
||||||
// (used by QCOMPARE_WITH_RELATIVE_ERROR via QCOMPARE_WITH_LAMBDA)
|
// (used by QCOMPARE_WITH_RELATIVE_ERROR via QCOMPARE_WITH_LAMBDA)
|
||||||
// (this is only used by btMatrix3x3 in MeshMassPropertiesTests.cpp, so it's only defined for the Mat3 type)
|
// (this is only used by btMatrix3x3 in MeshMassPropertiesTests.cpp, so it's only defined for the Mat3 type)
|
||||||
|
|
||||||
// Return the error between values a and b; used to implement QCOMPARE_WITH_ABS_ERROR
|
|
||||||
inline btScalar getErrorDifference(const btScalar& a, const btScalar& b) {
|
|
||||||
return fabs(a - b);
|
|
||||||
}
|
|
||||||
// Return the error between values a and b; used to implement QCOMPARE_WITH_ABS_ERROR
|
// Return the error between values a and b; used to implement QCOMPARE_WITH_ABS_ERROR
|
||||||
inline btScalar getErrorDifference(const btVector3& a, const btVector3& b) {
|
inline btScalar getErrorDifference(const btVector3& a, const btVector3& b) {
|
||||||
return (a - b).length();
|
return (a - b).length();
|
||||||
|
|
Loading…
Reference in a new issue