From: Olivier M. <Oli...@cy...> - 2000-09-06 14:49:32
|
Sven Goethel wrote: > yes And I have a little problem: glLightModeli() takes two int arguments, typically GL_LIGHT_MODEL_LOCAL_VIEWER and GL_FALSE. The problem is that GL_FALSE appears to be defined as boolean and hence the following call doesn't compile: glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER,GL_FALSE); error: glLightModeli(int,int) in gl4java.GLFunc cannot be applied to (int,boolean) I had to write instead: glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER,0); which compiled and probably works but is not very nice... :( Maybe you could clean that up by defining GL_FALSE as int rather than boolean or define another glLightModeli() method with int and boolean as arguments... Please, let me know if you plan to fix this in the next release of GL4Java. Thanks. -Olivier |