From fde62febcfd25248ed19e0fa2a34e84909ab7a4f Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 17 Oct 2023 16:18:55 -0700 Subject: [PATCH] overhaul StyleModifiers --- src/integer.rs | 13 ++- src/physics.rs | 224 +++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 203 insertions(+), 34 deletions(-) diff --git a/src/integer.rs b/src/integer.rs index 686eac2..56c25e2 100644 --- a/src/integer.rs +++ b/src/integer.rs @@ -531,7 +531,14 @@ impl std::ops::Mul for Planar64{ type Output=Planar64; #[inline] fn mul(self, rhs: Self) -> Self::Output { - Planar64((((self.0 as i128)*(rhs.0 as i128))>>32) as i64) + Planar64(((self.0 as i128*rhs.0 as i128)>>32) as i64) + } +} +impl std::ops::Mul