2023-02-05 10:05:05 +01:00
|
|
|
#ifndef FAST_TRIG_H
|
|
|
|
#define FAST_TRIG_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <cmath>
|
|
|
|
#include <num/num.h>
|
|
|
|
|
|
|
|
|
|
|
|
#define PI 3.141592
|
|
|
|
|
|
|
|
|
|
|
|
void Fast_Trig_Init( void );
|
|
|
|
|
2023-02-05 13:53:42 +01:00
|
|
|
libnum::num FastCosInt( int16_t angle );
|
|
|
|
libnum::num FastSinInt( int16_t angle );
|
|
|
|
libnum::num FastTanInt( int16_t angle );
|
2023-02-05 10:05:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|