From 691c3e0482befa464e949826d3c0aa5d9e9771b7 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Sat, 14 Oct 2023 11:59:31 -0700 Subject: [PATCH] WRONG --- src/integer.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/integer.rs b/src/integer.rs index efd1a8a..c568d2a 100644 --- a/src/integer.rs +++ b/src/integer.rs @@ -550,13 +550,13 @@ impl std::ops::Div for Planar64{ pub struct Planar64Vec3(glam::I64Vec3); impl Planar64Vec3{ pub const ZERO:Self=Planar64Vec3(glam::I64Vec3::ZERO); - pub const ONE:Self=Planar64Vec3(glam::I64Vec3::ONE); - pub const X:Self=Planar64Vec3(glam::I64Vec3::X); - pub const Y:Self=Planar64Vec3(glam::I64Vec3::Y); - pub const Z:Self=Planar64Vec3(glam::I64Vec3::Z); - pub const NEG_X:Self=Planar64Vec3(glam::I64Vec3::NEG_X); - pub const NEG_Y:Self=Planar64Vec3(glam::I64Vec3::NEG_Y); - pub const NEG_Z:Self=Planar64Vec3(glam::I64Vec3::NEG_Z); + pub const ONE:Self=Self::int(1,1,1); + pub const X:Self=Self::int(1,0,0); + pub const Y:Self=Self::int(0,1,0); + pub const Z:Self=Self::int(0,0,1); + pub const NEG_X:Self=Self::int(-1,0,0); + pub const NEG_Y:Self=Self::int(0,-1,0); + pub const NEG_Z:Self=Self::int(0,0,-1); pub const MIN:Self=Planar64Vec3(glam::I64Vec3::MIN); pub const MAX:Self=Planar64Vec3(glam::I64Vec3::MAX); #[inline]