mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-10 13:28:16 +00:00
Corrected bug on MatrixPerspective()
Some other tweaks...
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user