Core updates

This commit is contained in:
Scott Lahteine 2017-09-06 06:28:32 -05:00
parent 479652073b
commit f52a31a275
8 changed files with 156 additions and 15 deletions

View file

@ -102,6 +102,9 @@
#define DEGREES(r) ((r)*180.0/M_PI)
#define HYPOT2(x,y) (sq(x)+sq(y))
#define CIRCLE_AREA(R) (M_PI * sq(R))
#define CIRCLE_CIRC(R) (2.0 * M_PI * (R))
#define SIGN(a) ((a>0)-(a<0))
// Macros to contrain values