fixed mistyped result

This commit is contained in:
Brian-E 2023-09-27 18:39:59 +01:00
parent be3b4dacdd
commit 9b63391775

View File

@ -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;