Merge pull request #3976 from gmpreussner/devel

Added TAU constant.
This commit is contained in:
Dominik Picheta
2016-03-18 17:40:40 +00:00
2 changed files with 1 additions and 1 deletions

View File

@@ -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

View File

@@ -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