Add SWEET_GOLDEN_RATIO constant.

This commit is contained in:
Luc Girod 2014-04-25 21:31:54 +02:00
parent 6bade24aa7
commit d63f6a8793

View File

@ -31,11 +31,12 @@
*
**/
/** This macro define the PI number with a relative great precision */
/** This macro define well known numbers with a relative great precision */
#define SWEET_PI_OVER_3 1.047197551196597746154214
#define SWEET_PI_OVER_2 1.570796326794896619231321
#define SWEET_PI 3.141592653589793238462643
#define SWEET_2PI 6.283185307179586476925286
#define SWEET_GOLDEN_RATIO 1.618033988749894848204586
/** RadianToDegree */
/** @param Radian as float or double */