From 9cb42009cb1d23bc1551c3aabae788538483bef1 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 13 Oct 2023 14:31:18 -0700 Subject: [PATCH] implement Planar64Vec3*i64 + Planar64Affine3::new --- src/integer.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/integer.rs b/src/integer.rs index 09e92b5..c931568 100644 --- a/src/integer.rs +++ b/src/integer.rs @@ -627,6 +627,17 @@ impl std::ops::Mul for Planar64Vec3{ )) } } +impl std::ops::Mul for Planar64Vec3{ + type Output=Planar64Vec3; + #[inline] + fn mul(self,rhs:i64)->Self::Output { + Planar64Vec3(glam::i64vec3( + self.0.x*rhs, + self.0.y*rhs, + self.0.z*rhs + )) + } +} impl std::ops::Mul