From 2339e6cfabca7176bfe59e7e3c50e4dfc5d63110 Mon Sep 17 00:00:00 2001 From: Astie Teddy Date: Fri, 10 Nov 2023 13:52:37 +0100 Subject: [PATCH] Consider matrices as Row-major instead Raylib actually stores matrices in row-major instead of column-major. --- raylib-sys/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raylib-sys/src/lib.rs b/raylib-sys/src/lib.rs index f16d5ea2..612fbc4d 100644 --- a/raylib-sys/src/lib.rs +++ b/raylib-sys/src/lib.rs @@ -6,7 +6,7 @@ pub use mint; pub type Vector2 = mint::Vector2; pub type Vector3 = mint::Vector3; pub type Vector4 = mint::Vector4; -pub type Matrix = mint::ColumnMatrix4; +pub type Matrix = mint::RowMatrix4; pub type Quaternion = mint::Quaternion; include!(concat!(env!("OUT_DIR"), "/bindings.rs"));