diff --git a/lib/pure/math.nim b/lib/pure/math.nim index b0104336e1..84c8d3b11a 100644 --- a/lib/pure/math.nim +++ b/lib/pure/math.nim @@ -44,6 +44,7 @@ when not defined(js) and not defined(nimscript): const PI* = 3.1415926535897932384626433 ## the circle constant PI (Ludolph's number) + TAU* = 2.0 * PI ## the circle constant TAU (= 2 * PI) E* = 2.71828182845904523536028747 ## Euler's number MaxFloat64Precision* = 16 ## maximum number of meaningful digits diff --git a/tests/manyloc/keineschweine/lib/sg_assets.nim b/tests/manyloc/keineschweine/lib/sg_assets.nim index 801c3456be..fbc3c9ab8e 100644 --- a/tests/manyloc/keineschweine/lib/sg_assets.nim +++ b/tests/manyloc/keineschweine/lib/sg_assets.nim @@ -110,7 +110,6 @@ type TGameState* = enum Lobby, Transitioning, Field const - TAU* = PI * 2.0 MomentMult* = 0.62 ## global moment of inertia multiplier var cfg: PZoneSettings