Beispiel #1
0
 public static void Color(System.Drawing.Color c)
 {
     Opengl32.glColor4f(c.R / 255f, c.G / 255f, c.B / 255f, c.A / 255f);
 }
Beispiel #2
0
 public static void Color(float red, float green, float blue, float alpha)
 {
     Opengl32.glColor4f(red, green, blue, alpha);
 }