Fix formatting

This commit is contained in:
Lukas Klingsbo
2020-10-30 13:36:31 +01:00
parent 1a6f53ce4b
commit ed4d493ecb
5 changed files with 31 additions and 30 deletions

View File

@ -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();