From 849dcf98f7fa81b293ad01ef1fd5098ece8981aa 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 686eac22..56c25e23 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