diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-06-12 23:15:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-12 23:15:48 +0100 |
| commit | a67df0739245d85e7aa773e7271a64121ca534c5 (patch) | |
| tree | 81ad4689e4deb910853fef360ada6bf0fac44df7 | |
| parent | 05972eb26bc1ba3ae2c067ca8fd4e39e623143b8 (diff) | |
| parent | d37b5a7b67e5886c3361a81287e077505eed80b5 (diff) | |
Merge pull request #3742 from karl-zylinski/fix-raymath-matrix-to-float
Make rl.MatrixToFloatV do same thing in Odin as in C
| -rw-r--r-- | vendor/raylib/raymath.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/raylib/raymath.odin b/vendor/raylib/raymath.odin index 9682ffe4f..eef5c2fcd 100644 --- a/vendor/raylib/raymath.odin +++ b/vendor/raylib/raymath.odin @@ -668,7 +668,7 @@ MatrixLookAt :: proc "c" (eye, target, up: Vector3) -> Matrix { // Get float array of matrix data @(require_results) MatrixToFloatV :: proc "c" (mat: Matrix) -> [16]f32 { - return transmute([16]f32)mat + return transmute([16]f32)linalg.transpose(mat) } |