render method
Implementation
void render(DebugDraw debugDraw) {
final wireframe =
(debugDraw.drawFlags & DebugDraw.wireFrameDrawingBit) != 0;
if (particles.isNotEmpty) {
if (wireframe) {
debugDraw.drawParticlesWireframe(particles, particleRadius);
} else {
debugDraw.drawParticles(particles, particleRadius);
}
}
}