[DEV] add degree to rad convert macro
This commit is contained in:
parent
52d5bd1810
commit
4e1977c17a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user