Corrected bug on MatrixPerspective()

Some other tweaks...
This commit is contained in:
raysan5 2017-07-22 10:35:41 +02:00
parent bee980e90f
commit 00d2768bc9
4 changed files with 7 additions and 7 deletions

View file

@ -120,8 +120,8 @@ void DrawCube(Vector3 position, float width, float height, float length, Color c
rlPushMatrix();
// NOTE: Be careful! Function order matters (scale -> rotate -> translate)
rlScalef(1.0f, 3.0f, 1.0f);
rlRotatef(45, 0, 1, 0);
//rlScalef(1.0f, 3.0f, 1.0f);
//rlRotatef(45, 0, 1, 0);
rlTranslatef(position.x, position.y, position.z);
rlBegin(RL_TRIANGLES);