2017-04-20 12:44:09 +02:00
|
|
|
#ifndef MATHS
|
|
|
|
#define MATHS
|
|
|
|
|
2017-04-21 22:32:40 +02:00
|
|
|
float fcos(unsigned char x);
|
|
|
|
float fsin(unsigned char x);
|
|
|
|
|
2017-04-20 12:44:09 +02:00
|
|
|
#define pi 3.14159265358
|
|
|
|
#define pi_2 1.570796327
|
|
|
|
#define pi_4 0.78539981635
|
|
|
|
|
|
|
|
float cos(float x);
|
|
|
|
float sin(float x);
|
|
|
|
|
|
|
|
#endif
|