summaryrefslogtreecommitdiffstats
path: root/hacks/glx/marching.c
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/glx/marching.c')
-rw-r--r--hacks/glx/marching.c23
1 files changed, 3 insertions, 20 deletions
diff --git a/hacks/glx/marching.c b/hacks/glx/marching.c
index b3357dd..771f046 100644
--- a/hacks/glx/marching.c
+++ b/hacks/glx/marching.c
@@ -13,31 +13,14 @@
* http://astronomy.swin.edu.au/~pbourke/modelling/polygonise/
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include "screenhackI.h"
+#include "marching.h"
+#include "normals.h"
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
-#ifndef HAVE_JWXYZ
-# include <GL/gl.h>
-#endif
-
-#ifdef HAVE_ANDROID
-# include <GLES/gl.h>
-#endif
-
-#ifdef HAVE_JWZGLES
-# include "jwzgles.h"
-#endif /* HAVE_JWZGLES */
-
-#include "marching.h"
-#include "normals.h"
-
-extern char *progname;
-
#undef ABS
#define ABS(x) ((x)<0?(-(x)):(x))