diff --git a/crates/fj/src/angle.rs b/crates/fj/src/angle.rs index 5ad919afa..5a6389d8d 100644 --- a/crates/fj/src/angle.rs +++ b/crates/fj/src/angle.rs @@ -32,7 +32,7 @@ impl Angle { fn wrap(rad: f64) -> f64 { let modulo = rad % (2. * PI); if modulo < 0. { - modulo * -1. + 2. * PI + modulo } else { modulo }