From eb459211bfab893bac7e5a5068bca8bc75f91480 Mon Sep 17 00:00:00 2001 From: Quaternions <krakow20@gmail.com> Date: Thu, 7 Sep 2023 16:28:07 -0700 Subject: [PATCH] transpose roblox cframe --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index a1f0f16..35abc85 100644 --- a/src/main.rs +++ b/src/main.rs @@ -338,9 +338,9 @@ impl strafe_client::framework::Example for Skybox { ) * glam::Mat4::from_mat3( glam::Mat3::from_cols( - glam::Vec3::new(cf.orientation.x.x,cf.orientation.x.y,cf.orientation.x.z), - glam::Vec3::new(cf.orientation.y.x,cf.orientation.y.y,cf.orientation.y.z), - glam::Vec3::new(cf.orientation.z.x,cf.orientation.z.y,cf.orientation.z.z), + glam::Vec3::new(cf.orientation.x.x,cf.orientation.y.x,cf.orientation.z.x), + glam::Vec3::new(cf.orientation.x.y,cf.orientation.y.y,cf.orientation.z.y), + glam::Vec3::new(cf.orientation.x.z,cf.orientation.y.z,cf.orientation.z.z), ), ) * glam::Mat4::from_scale(