示例#1
0
文件: GL.cs 项目: 2max968/Kritzelv2
 public static void Color(System.Drawing.Color c)
 {
     Opengl32.glColor4f(c.R / 255f, c.G / 255f, c.B / 255f, c.A / 255f);
 }
示例#2
0
文件: GL.cs 项目: 2max968/Kritzelv2
 public static void Color(float red, float green, float blue, float alpha)
 {
     Opengl32.glColor4f(red, green, blue, alpha);
 }