Browse Source

vendor/raylib: fix Vector3Unproject wrong assignment

Fixes #4646
Laytan Laats 9 months ago
parent
commit
5957ff3699
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vendor/raylib/raymath.odin

+ 1 - 1
vendor/raylib/raymath.odin

@@ -523,7 +523,7 @@ Vector3Unproject :: proc "c" (source: Vector3, projection: Matrix, view: Matrix)
 
 	quat: Quaternion
 	quat.x = source.x
-	quat.y = source.z
+	quat.y = source.y
 	quat.z = source.z
 	quat.w = 1