Java Bindings for OpenGL: Difference between revisions

Content deleted Content added
Line 15:
 
==Example==
This examplesexample shows how to draw a polygon (without initialization or repaint code).<ref>Borrowed from the [http://nehe.gamedev.net/lesson.asp?index=01 Nehe tutorial], whose code is free to use elsewhere.</ref> Here is the reference [[C (programming language)|C]] implementation:
<source lang="c">
int DrawGLScene(GLvoid) {