aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Colors.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-19 11:06:44 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-03-01 05:06:16 +0100
commit328c6d4eab1127cd9799540f253deda66060b68a (patch)
treeeeb1c888ed94c444d673f9f827b4df447e249ea4 /src/Colors.cs
parent2cb0e7507022aa0449c1af264230784039b24e15 (diff)
free Crow base from OpenTK
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;
}