Module refactoring

This commit is contained in:
Peter
2019-06-16 00:51:10 +01:00
parent 819583121e
commit 08fe209b9f
1118 changed files with 9144 additions and 9141 deletions

View File

@@ -0,0 +1,13 @@
#include <math.h>
static inline float deg_to_radf(float deg) {
return deg * (float)M_PI / 180.0f;
}
static inline double MAXf(float a, float b) {
return a > b ? a : b;
}
static inline double MINf(float a, float b) {
return a < b ? a : b;
}