aboutsummaryrefslogtreecommitdiffstats
path: root/C2J/manual/glu-manualCodedVirt.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2001-09-26 00:21:57 +0000
committerSven Gothel <[email protected]>2001-09-26 00:21:57 +0000
commit744ceb659539753d571dc46aebb601d4a2f0b401 (patch)
treed5dbaac2714b00532c51d8f35bcd6ec0927d235c /C2J/manual/glu-manualCodedVirt.java
parent26883064d71736ccd96a6f1d9b19b85b66f5ac7c (diff)
bugfix: auto context switch
Diffstat (limited to 'C2J/manual/glu-manualCodedVirt.java')
-rw-r--r--C2J/manual/glu-manualCodedVirt.java63
1 files changed, 63 insertions, 0 deletions
diff --git a/C2J/manual/glu-manualCodedVirt.java b/C2J/manual/glu-manualCodedVirt.java
index e8c3fe2..0f5dbae 100644
--- a/C2J/manual/glu-manualCodedVirt.java
+++ b/C2J/manual/glu-manualCodedVirt.java
@@ -62,3 +62,66 @@ public void gluDeleteNurbsRenderer( long nobj );
public void gluDeleteTess( long tobj );
+/**
+ * Wrapper for original gluProject,
+ * where the orig. last three arguments are wrapped
+ * mapped in one array: (winx[1], winy[1], winz[1]) <-> win[3]
+ *
+ * @param obj array of the three obj x,y,z input components
+ * @param win array of the three win x,y,z output components
+ * @see gl4java.GLUFunc#gluProject
+ */
+public int gluProject(double obj[],
+ double[] modelMatrix,
+ double[] projMatrix,
+ int[] viewport,
+ double[] win);
+
+/**
+ * Wrapper for original gluProject,
+ * where the orig. last three arguments are wrapped
+ * mapped in one array: (winx[1], winy[1], winz[1]) <-> win[3]
+ *
+ * @param win array of the three win x,y,z output components
+ * @see gl4java.GLUFunc#gluProject
+ */
+public int gluProject(double objx,
+ double objy,
+ double objz,
+ double[] modelMatrix,
+ double[] projMatrix,
+ int[] viewport,
+ double[] win);
+
+/**
+ * Wrapper for original gluUnProject,
+ * where the orig. last three arguments are wrapped
+ * mapped in one array: (objx[1], objy[1], objz[1]) <-> obj[3]
+ *
+ * @param win array of the three win x,y,z input components
+ * @param obj array of the three obj x,y,z output components
+ * @see gl4java.GLUFunc#gluUnProject
+ */
+public int gluUnProject(double win[],
+ double[] modelMatrix,
+ double[] projMatrix,
+ int[] viewport,
+ double[] obj);
+
+/**
+ * Wrapper for original gluUnProject,
+ * where the orig. last three arguments are wrapped
+ * mapped in one array: (objx[1], objy[1], objz[1]) <-> obj[3]
+ *
+ * @param obj array of the three obj x,y,z output components
+ * @see gl4java.GLUFunc#gluUnProject
+ */
+public int gluUnProject(double winx,
+ double winy,
+ double winz,
+ double[] modelMatrix,
+ double[] projMatrix,
+ int[] viewport,
+ double[] obj);
+
+