From 7b6b87ec5bd401408fea4cd4371169ee904d5028 Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 20 May 2021 19:14:20 +0200 Subject: Update VS2019 project: rlgl_standalone --- examples/others/rlgl_standalone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/others/rlgl_standalone.c b/examples/others/rlgl_standalone.c index f1fce858..47233afd 100644 --- a/examples/others/rlgl_standalone.c +++ b/examples/others/rlgl_standalone.c @@ -176,7 +176,7 @@ int main(void) // Draw '3D' elements in the scene //----------------------------------------------- // Calculate projection matrix (from perspective) and view matrix from camera look at - Matrix matProj = MatrixPerspective(camera.fovy*DEG2RAD, (double)screenWidth/(double)screenHeight, 0.01, 1000.0); + Matrix matProj = MatrixPerspective((double)(camera.fovy*DEG2RAD), (double)screenWidth/(double)screenHeight, 0.01, 1000.0); Matrix matView = MatrixLookAt(camera.position, camera.target, camera.up); rlSetMatrixModelview(matView); // Set internal modelview matrix (default shader) -- cgit v1.2.3