From 9b6339177517cd3e5ead1a117e311e4c395ddfd3 Mon Sep 17 00:00:00 2001 From: Brian-E Date: Wed, 27 Sep 2023 18:39:59 +0100 Subject: [PATCH] fixed mistyped result --- src/rcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index 51f06ae4e..3ba0404d7 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -2952,7 +2952,7 @@ Vector2 GetWorldToScreenEx(Vector3 position, Camera camera, int width, int heigh } else if (camera.projection == CAMERA_ORTHOGRAPHIC) { - float aspect = ((double)width/(double)height); + double aspect = ((double)width/(double)height); double top = camera.fovy/2.0; double right = top*aspect;