rotated method
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,
);
}