Example #1
0
 /// <summary> Draw the points </summary>
 /// <remarks> Not very efficient. Use a <c>DisplayList</c> to render quickly </remarks>
 public override void Draw()
 {
     GL.PushAttrib(AttribMask.PointBit);
     GL.PointSize(PointSize);
     using (GLDraw.Begin(BeginMode.Points))
     {
         foreach (var point in points)
         {
             GL.Vertex3(point);
         }
     }
     GL.PopAttrib();
 }