
See sample program 2 and 3
| C: | gluNurbsCallback(theNurb, GLU_ERROR, nurbsError); |
|---|---|
| JSparrow: | gluNurbsCallback(theNurb, GLU_ERROR, "nurbsError", this); |
See sample program 5.
JSparrow supports normal AWT components like Canvas, Frame, Panel,
Applet etc. For example, if you use Panel for rendering, you can put
other components, such as Buttons, on top of the Panel.JSparrow also provides special Components for convenience such as OGLCanvas, OGLPanel. If you extends these classes, the source code of the program is much similar to C.
See sample program 1 and
3.
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||

jsparrow@zak.att.ne.jp