文件名称:polyline Drawing
文件大小:4KB
文件格式:JAVA
更新时间:2012-09-14 03:59:30
openGl poly line
poly line Drawing /** * This is based on page 66 of Hill 2nd edition. It shows how we can get mouse and * keyboard input. */ import java.awt.*; import java.util.*; import java.awt.event.*; import javax.media.opengl.*; import javax.media.opengl.glu.*; public class polyLineDraw extends Frame implements GLEventListener, MouseListener, KeyListener { int width = 640; //window width and height int height = 480;