From e0e55c6883850977d87c9f1adc2dc015b18e85e4 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Sat, 14 Oct 2023 00:47:38 -0700 Subject: [PATCH] whoops (the bug) --- src/integer.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/integer.rs b/src/integer.rs index 48758a1..80cb502 100644 --- a/src/integer.rs +++ b/src/integer.rs @@ -862,9 +862,9 @@ impl Into for Planar64Affine3{ #[inline] fn into(self)->glam::Mat4{ glam::Mat4::from_cols_array(&[ - self.matrix3.x_axis.0.x as f32,self.matrix3.x_axis.0.x as f32,self.matrix3.x_axis.0.x as f32,0.0, - self.matrix3.y_axis.0.x as f32,self.matrix3.y_axis.0.x as f32,self.matrix3.y_axis.0.x as f32,0.0, - self.matrix3.z_axis.0.x as f32,self.matrix3.z_axis.0.x as f32,self.matrix3.z_axis.0.x as f32,0.0, + self.matrix3.x_axis.0.x as f32,self.matrix3.x_axis.0.y as f32,self.matrix3.x_axis.0.z as f32,0.0, + self.matrix3.y_axis.0.x as f32,self.matrix3.y_axis.0.y as f32,self.matrix3.y_axis.0.z as f32,0.0, + self.matrix3.z_axis.0.x as f32,self.matrix3.z_axis.0.y as f32,self.matrix3.z_axis.0.z as f32,0.0, self.translation.0.x as f32,self.translation.0.y as f32,self.translation.0.z as f32,PLANAR64_FLOAT32_ONE ])*PLANAR64_FLOAT32_MUL }