diff options
Diffstat (limited to 'C2J/manual/glu-manualCodedVirt.java')
-rw-r--r-- | C2J/manual/glu-manualCodedVirt.java | 63 |
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); + + |