diff options
| author | Ray <[email protected]> | 2021-10-07 16:08:39 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-10-07 16:08:39 +0200 |
| commit | bb2763cc1faea71c2f21a66b9f0e0bd43532a04c (patch) | |
| tree | 1cfd5ceb71b8574cd9b0319752682f6ea28d655c /examples/models | |
| parent | 3e71232a04a7d570d139f019dfb873fff672878d (diff) | |
| download | raylib-bb2763cc1faea71c2f21a66b9f0e0bd43532a04c.tar.gz raylib-bb2763cc1faea71c2f21a66b9f0e0bd43532a04c.zip | |
Update models_rlgl_solar_system.c
Diffstat (limited to 'examples/models')
| -rw-r--r-- | examples/models/models_rlgl_solar_system.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/models/models_rlgl_solar_system.c b/examples/models/models_rlgl_solar_system.c index 24394bec..fffe55ea 100644 --- a/examples/models/models_rlgl_solar_system.c +++ b/examples/models/models_rlgl_solar_system.c @@ -88,7 +88,6 @@ int main(void) rlPushMatrix(); rlRotatef(earthOrbitRotation, 0.0f, 1.0f, 0.0f); // Rotation for Earth orbit around Sun rlTranslatef(earthOrbitRadius, 0.0f, 0.0f); // Translation for Earth orbit - rlRotatef(-earthOrbitRotation, 0.0f, 1.0f, 0.0f); // Rotation for Earth orbit around Sun inverted rlPushMatrix(); rlRotatef(earthRotation, 0.25, 1.0, 0.0); // Rotation for Earth itself @@ -99,7 +98,6 @@ int main(void) rlRotatef(moonOrbitRotation, 0.0f, 1.0f, 0.0f); // Rotation for Moon orbit around Earth rlTranslatef(moonOrbitRadius, 0.0f, 0.0f); // Translation for Moon orbit - rlRotatef(-moonOrbitRotation, 0.0f, 1.0f, 0.0f); // Rotation for Moon orbit around Earth inverted rlRotatef(moonRotation, 0.0f, 1.0f, 0.0f); // Rotation for Moon itself rlScalef(moonRadius, moonRadius, moonRadius); // Scale Moon |
