|
@@ -8,8 +8,10 @@
|
|
|
#define SQRT3_BY_2 (0.86602540378f)
|
|
#define SQRT3_BY_2 (0.86602540378f)
|
|
|
#define SQRT3 (1.73205080757f)
|
|
#define SQRT3 (1.73205080757f)
|
|
|
#define SQRT2_BY_SQRT3 (0.8164966f)
|
|
#define SQRT2_BY_SQRT3 (0.8164966f)
|
|
|
|
|
+#define TWO_BY_THREE (0.66667f)
|
|
|
#define M_PI (3.14159265f)
|
|
#define M_PI (3.14159265f)
|
|
|
|
|
|
|
|
|
|
+
|
|
|
#define ONE_BY_SQRT3_Q14 (9459L) //0.57735026919 * 16384.0F
|
|
#define ONE_BY_SQRT3_Q14 (9459L) //0.57735026919 * 16384.0F
|
|
|
#define SQRT3_BY_2_Q14 (14189L)//0.86602540378 * 16384.0F
|
|
#define SQRT3_BY_2_Q14 (14189L)//0.86602540378 * 16384.0F
|
|
|
#define TWO_BY_SQRT3_Q14 (18918L)
|
|
#define TWO_BY_SQRT3_Q14 (18918L)
|