Home
last modified time | relevance | path

Searched refs:tol (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/test/
Dtest_macros.h92 #define EXPECT_VEC3_NEAR(expected, actual, tol) \ argument
94 tol)
96 #define EXPECT_VEC3_NOT_NEAR(expected, actual, tol) \ argument
98 tol)
100 #define EXPECT_QUAT_NEAR(expected, actual, tol) \ argument
102 actual.coeffs(), tol)
104 #define EXPECT_QUAT_NOT_NEAR(expected, actual, tol) \ argument
106 actual.coeffs(), tol)
108 #define EXPECT_MAT4_NEAR(expected, actual, tol) \ argument
110 tol)
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dnumeric.h90 const T& tol = std::numeric_limits<T>::epsilon()) {
91 return std::abs(v) <= tol;
96 const T& tol = std::numeric_limits<T>::epsilon()) {
97 return std::abs(b - a) <= tol;