Skip to content

Commit

Permalink
codgen after rebase from main
Browse files Browse the repository at this point in the history
  • Loading branch information
bitshifter committed May 12, 2024
1 parent 6b2ed14 commit 16e3dde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/f32/neon/quat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ impl Quat {
glam_assert!(from.is_normalized());
glam_assert!(to.is_normalized());

const ONE_MINUS_EPS: f32 = 1.0 - 2.0 * core::f32::EPSILON;
const ONE_MINUS_EPS: f32 = 1.0 - 2.0 * f32::EPSILON;
let dot = from.dot(to);
if dot > ONE_MINUS_EPS {
// 0° singularity: from ≈ to
Expand Down Expand Up @@ -343,7 +343,7 @@ impl Quat {
glam_assert!(from.is_normalized());
glam_assert!(to.is_normalized());

const ONE_MINUS_EPSILON: f32 = 1.0 - 2.0 * core::f32::EPSILON;
const ONE_MINUS_EPSILON: f32 = 1.0 - 2.0 * f32::EPSILON;
let dot = from.dot(to);
if dot > ONE_MINUS_EPSILON {
// 0° singularity: from ≈ to
Expand Down

0 comments on commit 16e3dde

Please sign in to comment.