GluquadricObj in sharpGL

Oct 15, 2014 at 3:20 PM
Hi, i am trying to draw a cylinder with gl.cylinder.
For the 1st input, I can not found the GLUquadricObj function to declare the object.
Is there any difference method in sharpGL?
Oct 20, 2014 at 8:54 PM
Hi! There is the SharpGL.SceneGraph.Quadrics namespace where you can find a wrapper for a cylinder. Is that what you are looking for?
Nov 25, 2014 at 4:54 PM
or try,

IntPtr i = new IntPtr();
i = gl.NewQuadric();
gl.QuadricNormals(i, OpenGL.GL_SMOOTH);
gl.Cylinder(i, 0, 2, 8, 120, 16);