* implied warranty.
*/
-#include <GL/gl.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
+#ifndef HAVE_COCOA
+# include <GL/gl.h>
+#endif
+
+#ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+#endif /* HAVE_JWZGLES */
+
+#include "tangram_shapes.h"
#define small_scale ( 1 )
#define large_scale ( 2 )
glEnd();
}
+static
void unit_cube(int wire)
{
glBegin((wire) ? GL_LINE_LOOP : GL_QUADS);
glEnd();
}
+static
void unit_rhomboid(int wire)
{
glBegin((wire) ? GL_LINE_LOOP : GL_QUADS);