rotated method

Particle rotated(
  1. double angle
)
inherited

Rotates this particle to a fixed angle in radians using the RotatingParticle.

Implementation

Particle rotated(double angle) {
  return RotatingParticle(
    child: this,
    lifespan: _lifespan,
    from: angle,
    to: angle,
  );
}