예제 #1
0
 /// <summary>
 /// Set the current color.
 /// </summary>
 /// <param name="gl">The OpenGL instance.</param>
 /// <param name="color">The color.</param>
 public static void Color(this OpenGL gl, GLColor color)
 {
     gl.Color(color.R, color.G, color.B, color.A);
 }