deepstone

diff src/vmath.h @ 21:00d84ab1ef26

switched to wacom
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 21 Sep 2013 18:17:55 +0300
parents 4a0e9ab12ad0
children 5ff8ce78059a
line diff
     1.1 --- a/src/vmath.h	Sat Sep 21 16:40:31 2013 +0300
     1.2 +++ b/src/vmath.h	Sat Sep 21 18:17:55 2013 +0300
     1.3 @@ -1,6 +1,12 @@
     1.4  #ifndef VMATH_H_
     1.5  #define VMATH_H_
     1.6  
     1.7 +#include <math.h>
     1.8 +
     1.9 +#ifndef M_PI
    1.10 +#define M_PI	3.1415926536
    1.11 +#endif
    1.12 +
    1.13  typedef struct {
    1.14  	float x, y, z, w;
    1.15  } vec4_t;