diff options
author | Sven Gothel <[email protected]> | 2001-09-26 00:21:57 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2001-09-26 00:21:57 +0000 |
commit | 744ceb659539753d571dc46aebb601d4a2f0b401 (patch) | |
tree | d5dbaac2714b00532c51d8f35bcd6ec0927d235c /gl4java/GLUFunc.java | |
parent | 26883064d71736ccd96a6f1d9b19b85b66f5ac7c (diff) |
bugfix: auto context switch
Diffstat (limited to 'gl4java/GLUFunc.java')
-rw-r--r-- | gl4java/GLUFunc.java | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/gl4java/GLUFunc.java b/gl4java/GLUFunc.java index b69c990..bb0c991 100644 --- a/gl4java/GLUFunc.java +++ b/gl4java/GLUFunc.java @@ -69,6 +69,69 @@ 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); + + +/** * C2J Parser Version 2.2 * Jausoft - Sven Goethel Software Development * Reading from file: glu-proto-auto.orig.h . . . |