Skip to content

Commit

Permalink
Clippy fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitshifter committed Jun 16, 2024
1 parent bd653d3 commit a840f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/vec2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ macro_rules! impl_vec2_float_tests {

glam_test!(test_rotate_towards, {
use core::$t::consts::{FRAC_PI_2, FRAC_PI_4};
let eps = 10.0 * core::$t::EPSILON as f32;
let eps = 10.0 * $t::EPSILON as f32;

// Setup such that `v0` is `PI/2` and `-PI/2` radians away from `v1` and `v2` respectively.
let v0 = $vec2::new(1.0, 0.0);
Expand Down

0 comments on commit a840f08

Please sign in to comment.