提问人:Nassa 提问时间:11/16/2023 最后编辑:Nassa 更新时间:11/16/2023 访问量:23
Jogl 1.0 到 2.5 的迁移 [已关闭]
Jogl 1.0 to 2.5 migration [closed]
问:
我用 Jogl 编写了一个 Java 程序(我认为是 1.x 版) 我无法迁移到版本 2.0-rc9 或 2.5
这不会使用 2.0-rc9 编译:
常量不存在:
GL.GL_SMOOTH
GL.GL_PERSPECTIVE_CORRECTION_HINT
GL.GL_LIGHT0
GL.GL_POSITION
...
这些函数不存在:
gl.glShadeModel() : (gl an object from GL class)
gl.glLoadIdentity()
...
Imoprted文件:
import javax.media.opengl.GL;
import javax.media.opengl.GLAutoDrawable;
import javax.media.opengl.GLEventListener;
import javax.media.opengl.glu.GLU;
使用的库:
jogl-all-2.0-rc9.jar
jogl-all-2.0-rc9-natives-macosx-universal.jar
gluegen-rt-2.0-rc9.jar
gluegen-rt-2.0-rc9-natives-macosx-universal.jar
我不知道如何迁移我的源代码。
答: 暂无答案
评论
com.jogamp.opengl
com.jogamp.opengl.GL2