Ajout de la balle au moteur en premier
This commit is contained in:
parent
a7f0043312
commit
928a7fb381
|
@ -21,6 +21,7 @@ int main() {
|
|||
ball.setCharge(-2.f);
|
||||
block5.setCharge(16.f);
|
||||
|
||||
engine.addObject(ball);
|
||||
engine.addObject(block1);
|
||||
engine.addObject(block2);
|
||||
engine.addObject(block3);
|
||||
|
@ -30,7 +31,6 @@ int main() {
|
|||
engine.addObject(block7);
|
||||
engine.addObject(block8);
|
||||
engine.addObject(block9);
|
||||
engine.addObject(ball);
|
||||
|
||||
engine.start();
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue