示例#1
0
 public void Render(double time)
 {
     // Unbind any texture that was previously bound
     GL.BindTexture(TextureTarget.Texture2D, 0);
     GL.LineWidth(1);
     GL.Begin(BeginMode.Lines);
     GL.Color4(Color.Crimson);
     GL.Vertex3(A);
     GL.Color4(Color.Gold);
     GL.Vertex3(B);
     GL.End();
     if (Timer.ElapsedMilliseconds > Lifespan)
     {
         _RenderSet.Remove(this);
     }
 }