collision check enabled by default using simple check.
This commit is contained in:
parent
94ec166a4a
commit
f30ca5e594
2
main.cc
2
main.cc
@ -37,7 +37,7 @@ void check_collisions_with_index () {
|
|||||||
gravity_collisions (&spaceship, &spaceship + 1);
|
gravity_collisions (&spaceship, &spaceship + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void (*check_collisions)() = 0;
|
void (*check_collisions)() = check_collisions_simple;
|
||||||
|
|
||||||
void update_state () {
|
void update_state () {
|
||||||
if (check_collisions)
|
if (check_collisions)
|
||||||
|
Loading…
Reference in New Issue
Block a user