Update VS2019 project: rlgl_standalone

This commit is contained in:
Ray 2021-05-20 19:14:20 +02:00
parent b90ac7bd31
commit 7b6b87ec5b
2 changed files with 26 additions and 22 deletions

View file

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