How to show up points in opengl?

Started by
0 comments, last by MichaelChesterJ 15 years, 10 months ago
This is part of my program : Gl.glColor3f(1, 0, 0); Gl.glBegin(Gl.GL_POINT); Gl.glVertex3f(5, 1, 0); Gl.glVertex3f(5, 2, 0); Gl.glVertex3f(5, 3, 0); Gl.glVertex3f(5, 4, 0); Gl.glVertex3f(5, 5, 0); Gl.glEnd(); I have my 3d view in open gl and there i have created spheres,cylinders and stuff like that with GLUT and all is fine.But why my points don't show up? Thanks
Advertisement
Hey you just made a typo.

It should be GL.GL_POINTS

This topic is closed to new replies.

Advertisement