aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Colors.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Colors.cs')
-rw-r--r--src/Colors.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Colors.cs b/src/Colors.cs
index d46b71a1..4cb8cd5c 100644
--- a/src/Colors.cs
+++ b/src/Colors.cs
@@ -70,14 +70,14 @@ namespace Crow
double.Parse(c[3]));
}
- public static implicit operator OpenTK.Vector4(Color c)
- {
- return new OpenTK.Vector4 ((float)c.R, (float)c.G, (float)c.B, (float)c.A);
- }
- public static implicit operator Color(OpenTK.Vector4 v)
- {
- return new Color (v.X, v.Y, v.Z, v.W);
- }
+// public static implicit operator OpenTK.Vector4(Color c)
+// {
+// return new OpenTK.Vector4 ((float)c.R, (float)c.G, (float)c.B, (float)c.A);
+// }
+// public static implicit operator Color(OpenTK.Vector4 v)
+// {
+// return new Color (v.X, v.Y, v.Z, v.W);
+// }
public static implicit operator Fill(Color c){
return new SolidColor (c) as Fill;
}