@@ -222,12 +222,9 @@ void application::render()
}
- if (this->showForceSum || this->showVelocity || this->showAllForces)
+ for(auto part: this->particles)
{
- for(auto part: this->particles)
- {
- part->forceDebug(this->showVelocity, this->showForceSum, this->showAllForces);
- }
+ part->forceDebug(this->showVelocity, this->showForceSum, this->showAllForces);
graphics::draw::text(5, 5, 0x11FF22, "Wait time: %02.2f ms", waitTime.get());