From f9b5993843021dc868cf1581de4319c6f7a2e649 Mon Sep 17 00:00:00 2001 From: anasrar Date: Wed, 23 Oct 2024 01:44:47 +1300 Subject: [PATCH] refactor(raymath): parameter typo --- raylib/raymath.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/raylib/raymath.go b/raylib/raymath.go index 63f1941..e0aefc6 100644 --- a/raylib/raymath.go +++ b/raylib/raymath.go @@ -1794,11 +1794,11 @@ func QuaternionEquals(p, q Quaternion) bool { } // MatrixDecompose - Decompose a transformation matrix into its rotational, translational and scaling components -func MatrixDecompose(mat Matrix, translational *Vector3, rotation *Quaternion, scale *Vector3) { +func MatrixDecompose(mat Matrix, translation *Vector3, rotation *Quaternion, scale *Vector3) { // Extract translation. - translational.X = mat.M12 - translational.Y = mat.M13 - translational.Z = mat.M14 + translation.X = mat.M12 + translation.Y = mat.M13 + translation.Z = mat.M14 // Extract upper-left for determinant computation a := mat.M0