Update VS2019 project: rlgl_standalone
This commit is contained in:
parent
b90ac7bd31
commit
7b6b87ec5b
2 changed files with 26 additions and 22 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue