예제 #1
0
 public GlColor(GlColor copyColor)
 {
     if (copyColor == null)
     {
         this.setColor(float.NaN, float.NaN, float.NaN);
     }
     else
     {
         this.setColor(copyColor.R, copyColor.G, copyColor.B);
     }
 }
예제 #2
0
 public static GlColor Validate(GlColor color)
 {
     return(new GlColor(Validate(color.R), Validate(color.G), Validate(color.B)));
 }
예제 #3
0
 public static bool Equals(GlColor C1, GlColor C2)
 {
     return(C1.R == C2.R && C1.G == C2.G && C1.B == C2.B);
 }
예제 #4
0
 public GlWinDrawColor(GlColor copyColor) : base(copyColor)
 {
 }