This commit is contained in:
Volodymyr Patuta 2021-01-01 20:13:07 +01:00
parent 8c8d9fbf0c
commit c094eb0514
1 changed files with 3 additions and 3 deletions

View File

@ -353,7 +353,7 @@ void draw(void) {
// JUPITER
memcpy(nmv, mvMat, sizeof nmv); /* copie mvMat dans nmv */
draw_object(nmv, projMat, _planet[4], _a/(12 * 365.2425f), 0, 1, 30.0f, 1, 0, (1/9.7f)*12, _r/0.416f, -0.031f, 1);
memcpy(cpy, nmv, sizeof cpy);
// Io
@ -625,7 +625,7 @@ void key(int keycode) {
for (i = 0; i < 18; ++i) {
enableSurfaceOption(_moon[i], SO_USE_TEXTURE);
if (i < 9)
enableSurfaceOption(_planet[i], SO_USE_TEXTURE);
enableSurfaceOption(_planet[i], SO_USE_TEXTURE);
}
} else {
disableSurfaceOption(_sun, SO_USE_TEXTURE);
@ -650,7 +650,7 @@ void key(int keycode) {
for (i = 0; i < 18; ++i) {
disableSurfaceOption(_moon[i], SO_USE_COLOR);
if (i < 9)
disableSurfaceOption(_planet[i], SO_USE_COLOR);
disableSurfaceOption(_planet[i], SO_USE_COLOR);
}
}
break;