[DEV] add degree to rad convert macro

This commit is contained in:
Edouard DUPIN 2013-01-09 22:55:03 +01:00
parent 52d5bd1810
commit 4e1977c17a

View File

@ -13,6 +13,9 @@
#include <math.h>
#include <etk/math/Vector3D.h>
#define DEG_TO_RAD(a) ((a)*M_PI/180.0f)
#define RAD_TO_DEG(a) ((a)*180.0f/M_PI)
namespace etk
{
class Matrix4