render method

void render(
  1. DebugDraw debugDraw
)

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);
    }
  }
}