commit 3d8c346610bc2501e324412a1f3b9673a464167a
parent a2a9433d509fccfb1a4d49558f7c62bb124d151c
Author: vaplv <vaplv@free.fr>
Date: Fri, 3 Oct 2014 11:11:35 +0200
Add the MRAD2DEG macro
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/math.h b/src/math.h
@@ -28,6 +28,7 @@
#define RCP_PI 0.31830988618379067154 /* 1/ pi */
#define SQRT2 1.41421356237309504880 /* sqrt( 2 ) */
#define MDEG2RAD(Deg) ((Deg)*PI/180.0)
+#define MRAD2DEG(Rad) ((Rad)*180.0/PI)
static FINLINE size_t