2
0
Эх сурвалжийг харах

Merge pull request #3742 from karl-zylinski/fix-raymath-matrix-to-float

Make rl.MatrixToFloatV do same thing in Odin as in C
gingerBill 1 жил өмнө
parent
commit
a67df07392

+ 1 - 1
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)
 }