Well the problem is:
gl.glMatrixMode(GL.GL_PROJECTION); GL_PROJECTION not found, also GL_MODELVIEW_MATRIX not found.. and other..
gl.glLoadIdentity(); <- not found
gl.glBegin(GL.GL_LINES); glBegin not found
gl.glVertex3f(1.3f, -1.0f, 0.0f); glVertex... not found
gl.glVertex3f(1.3f, -1.0f, 8.1f);
gl.glEnd();
gl.glPushMatrix(); not found.. pop not found also..
My imports..
import java.awt.event.*;
import javax.media.opengl.GL;
import javax.media.opengl.*;
import javax.media.opengl.awt.GLCanvas;
import javax.media.opengl.glu.*;
import javax.swing.*;
import java.awt.Frame;
import java.awt.Label;
import java.awt.TextArea;
import javax.media.opengl.glu.GLU;
import java.util.Timer;
import java.util.TimerTask;
import com.sun.opengl.util.*;
import com.sun.opengl.util.gl2.GLUT;
Can anyone point me in the right direction? Thanks..!




