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