コード例 #1
0
 public void Draw()
 {
     GL.LineWidth(3.0f);
     GL.Color3(Color.Blue.R, Color.Blue.G, Color.Blue.B);
     GL.Begin(PrimitiveType.LineLoop);
     foreach (MyVector3 vert in circlePoints3d)
     {
         GL.Vertex3(vert.ToArray());
     }
     GL.End();
     GL.PointSize(5.0f);
     GL.Begin(PrimitiveType.Points);
     GL.Vertex3(center.ToArray());
     GL.PointSize(1.0f);
     GL.End();
 }