diff options
Diffstat (limited to 'examples/others')
| -rw-r--r-- | examples/others/rlgl_standalone.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
