diff options
| author | raysan5 <raysan5@gmail.com> | 2017-07-22 10:35:41 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2017-07-22 10:35:49 +0200 |
| commit | 00d2768bc910ca0b6749878f0d142b62d30d55c1 (patch) | |
| tree | fda7d1963c0096452bacd8ba3682db8edc1ccc48 /src/models.c | |
| parent | bee980e90f1e27a0db8bd583ad0be57113d1298e (diff) | |
| download | raylib-00d2768bc910ca0b6749878f0d142b62d30d55c1.tar.gz raylib-00d2768bc910ca0b6749878f0d142b62d30d55c1.zip | |
Corrected bug on MatrixPerspective()
Some other tweaks...
Diffstat (limited to 'src/models.c')
| -rw-r--r-- | src/models.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/models.c b/src/models.c index 7df9a10b..47175b2c 100644 --- a/src/models.c +++ b/src/models.c @@ -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); |
