Just ran across http://tauday.com/
Basically, it convincingly argues that the natural way to measure a
circle is using a constant where 1 * the constant is a full turn -
which means the constant should be 2*Pi, called Tau (1 Tau = the
circumference of a circle divided by its radius).
I agree with this - very often in games and 3D math, what you want is
to represent a heading or direction, and the natural way to do it is
as a number from 0 to 1 - to get an angle it can then just be
multiplied by Tau (=2Pi).
So, could we add Tau as a constant in the math library, defined as
val Tau = 2 * Pi ?
A small addition that helps simplify a lot of angle related code.
Cheers,
-- Hans (zzorn)
For me it already simplified some code, and that was just simple
conversion between radians and degrees (which became rad = degrees *
Tau/360).
-- Hans