aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/OpenGLU_funcs.c.skel
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2000-11-18 06:43:49 +0000
committerSven Gothel <[email protected]>2000-11-18 06:43:49 +0000
commit880653d31a8f1ff8384fdbc75b84934bceecfdb8 (patch)
treebdafb71416f176d2a4b73bf716c9dc3f13685a8b /CNativeCode/OpenGLU_funcs.c.skel
Initial revision
Diffstat (limited to 'CNativeCode/OpenGLU_funcs.c.skel')
-rw-r--r--CNativeCode/OpenGLU_funcs.c.skel55
1 files changed, 55 insertions, 0 deletions
diff --git a/CNativeCode/OpenGLU_funcs.c.skel b/CNativeCode/OpenGLU_funcs.c.skel
new file mode 100644
index 0000000..81cfda7
--- /dev/null
+++ b/CNativeCode/OpenGLU_funcs.c.skel
@@ -0,0 +1,55 @@
+/*
+ * Leo Chan -- 1995
+ *
+ * This C file takes care of all the native implementation for the
+ * OpenGL utility commands
+ * ---------------
+ *
+ * Sven Goethel
+ *
+ * September 1997
+ */
+
+/*
+ * need to include the JAVA internal header files for macros and function
+ * prototypes required to maipulated JAVA data structures and functions
+ *
+ * StubPreamble.h includes the structure and macro definitions neede to
+ * convert JAVA data structures into C data structures.
+ *
+ */
+
+#ifdef _WIN32_
+ #include "winstuff.h"
+#endif
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#include <jni.h>
+
+/*
+ * the next thing to include are special headers that were created by
+ * JAVAH. They include the C structure definitions for the JAVA classes
+ */
+#include "gl4java_GLUFuncJauJNI.h"
+
+/*--------------------------------------------------------------------------
+ * here on in is just regular apple pie C
+ */
+
+/*
+ * next put any specific header files that are necessary to implement
+ * this native code
+ */
+#include<GL/gl.h>
+#include <GL/glu.h>
+
+#include "GLCallbackHelperJNI.h"
+#include "GLUCallbackJNI.h"
+#include "jnitools.h"
+
+/**
+ * herein lies the native JAVA methods for the OpenGL functions.
+ */
+