mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 11:43:19 +08:00
Fix formatting
This commit is contained in:
@ -13,6 +13,7 @@ void main() {
|
||||
final double mod = pow(10.0, places).toDouble();
|
||||
return (value * mod).round().toDouble() / mod;
|
||||
}
|
||||
|
||||
// Max three rotations
|
||||
double randomAngle() => roundDouble(random.nextDouble() * 6 * pi, 2);
|
||||
final double angleArgument = randomAngle();
|
||||
|
||||
Reference in New Issue
Block a user