summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5c2d7b6)
Can't be bothered to remove the functions. Just don't call them.
//Check for collisions
//Note: Only allows for one collision per step
//Check for collisions
//Note: Only allows for one collision per step
for (unsigned a = 0; a < system->nMax; ++a)
{
if ((system->bodies+a)->exists == false || (system->bodies+a)->collided)
for (unsigned a = 0; a < system->nMax; ++a)
{
if ((system->bodies+a)->exists == false || (system->bodies+a)->collided)