From b9fe7a4aa0f07ccdf21d76440c64bcb24b26f3f0 Mon Sep 17 00:00:00 2001 From: Brian-E Date: Wed, 27 Sep 2023 14:49:36 +0100 Subject: [PATCH] reverted accidental unrelated change --- src/rcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index 18d367250..5477741f2 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -2922,7 +2922,7 @@ Matrix GetCameraMatrix2D(Camera2D camera) // 2. Rotate and Scale // 3. Move by -target Matrix matOrigin = MatrixTranslate(-camera.target.x, -camera.target.y, 0.0f); - Matrix matRotation = MatrixRotateZ(-camera.rotation*DEG2RAD); + Matrix matRotation = MatrixRotate((Vector3){ 0.0f, 0.0f, 1.0f }, camera.rotation*DEG2RAD); Matrix matScale = MatrixScale(camera.zoom, camera.zoom, 1.0f); Matrix matTranslation = MatrixTranslate(camera.offset.x, camera.offset.y, 0.0f);