Add sin/cos support
This commit is contained in:
10
include/math.h
Normal file
10
include/math.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef __MATH_H__
|
||||
#define __MATH_H__
|
||||
#include "stdint.h"
|
||||
|
||||
#define FULL_CIRCLE 32768
|
||||
|
||||
int32_t sin(int32_t value);
|
||||
int32_t cos(int32_t value);
|
||||
|
||||
#endif // !__MATH_H__
|
||||
Reference in New Issue
Block a user