Pre-prending RL_ prefix for some raylib header macros.

This commit is contained in:
Marco Lizza 2018-12-20 16:06:59 +01:00
commit 8cea5f28b0

View file

@ -155,7 +155,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(camera.fovy*RL_DEG2RAD, (double)screenWidth/(double)screenHeight, 0.01, 1000.0);
Matrix matView = MatrixLookAt(camera.position, camera.target, camera.up);
SetMatrixModelview(matView); // Set internal modelview matrix (default shader)