diff options
author | Simon Rettberg | 2021-04-06 14:23:46 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-06 14:23:46 +0200 |
commit | 26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9 (patch) | |
tree | a51e1637554bcd84e63cccb1cb220c898a2c4ee8 /hacks/glx/flurry.h | |
parent | 5.44 (diff) | |
download | xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.gz xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.xz xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.zip |
xscreensaver 6.00
Diffstat (limited to 'hacks/glx/flurry.h')
-rw-r--r-- | hacks/glx/flurry.h | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/hacks/glx/flurry.h b/hacks/glx/flurry.h index b4c7787..dd66a12 100644 --- a/hacks/glx/flurry.h +++ b/hacks/glx/flurry.h @@ -35,33 +35,19 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef __GLCODE__ #define __GLCODE__ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif /* HAVE_CONFIG_H */ - -#ifndef HAVE_JWXYZ -# include <GL/gl.h> -# include <GL/glu.h> -# include <GL/glx.h> -#endif - -#ifdef HAVE_JWZGLES -# include "jwzgles.h" -#endif /* HAVE_JWZGLES */ - - -#include <stdlib.h> -#include <math.h> - +#include "xlockmoreI.h" #include "yarandom.h" #include "rotator.h" #include "gltrackball.h" +#include <stdlib.h> +#include <math.h> + typedef struct _global_info_t global_info_t; typedef struct _flurry_info_t flurry_info_t; #define sqr(X) ((X) * (X)) -#define PI 3.14159265358979323846f +#define PI M_PI #define DEG2RAD(X) (PI*(X)/180.0) #define RAD2DEG(X) ((X)*180.0/PI) #define rnd() (frand(1.0)) |