diff --git a/tests/quat.rs b/tests/quat.rs index 30cb0b7d..7b9433af 100644 --- a/tests/quat.rs +++ b/tests/quat.rs @@ -320,7 +320,7 @@ macro_rules! impl_quat_tests { #[test] fn test_rotation_arc() { - let eps = 2.0 * $t::EPSILON.sqrt(); + let eps = 2.0 * core::$t::EPSILON.sqrt(); for &from in &vec3_float_test_vectors!($vec3) { let from = from.normalize(); diff --git a/tests/vec3.rs b/tests/vec3.rs index 010aa598..e0d8b0b8 100644 --- a/tests/vec3.rs +++ b/tests/vec3.rs @@ -672,7 +672,7 @@ macro_rules! impl_vec3_float_tests { #[test] fn test_any_ortho() { - let eps = 2.0 * $t::EPSILON; + let eps = 2.0 * core::$t::EPSILON; for &v in &vec3_float_test_vectors!($vec3) { let orthogonal = v.any_orthogonal_vector();