Commit graph

13 commits

Author SHA1 Message Date
Fraser Waters c442a18d13 Add To/From HCY methods to Color4. 2014-11-12 19:52:15 +01:00
Fraser Waters edcb0664b1 Add To/From YUV methods to Color4. 2014-11-12 19:52:15 +01:00
Fraser Waters 679419bb67 Add To/From XYZ methods to Color4. 2014-11-12 19:52:14 +01:00
Fraser Waters 072263f29d Add To/From HSV methods to Color4. 2014-11-12 19:52:14 +01:00
Fraser Waters d09b32474b Add To/From HSL methods to Color4. 2014-11-12 19:52:14 +01:00
Fraser Waters af924afef4 Add To/From sRGB methods to Color4. 2014-11-12 19:52:14 +01:00
the_fiddler 7bcbfc7072 Added conditional compilation and the necessary classes to compile OpenTK without referencing System.Drawing.dll. To build without System.Drawing, add "MINIMAL" to the conditional compilation symbols. Note that this is an experimental feature that will result in a source- and binary-incompatible dll. 2011-12-08 00:03:14 +00:00
the_fiddler 53b84d18d4 Backported bugfixes from 1.0 branch. 2010-02-03 19:04:42 +00:00
the_fiddler e9d7d147d8 Color4(byte, byte, byte, byte) constructor now correctly normalizes values to the 0.0 - 1.0 range. 2009-11-10 00:09:04 +00:00
the_fiddler f03a6ddc76 Added system-defined colors.
Added and improved constructors (more versatile).
Added ToArgb() method for improved System.Drawing.Color interop.
2009-11-07 19:38:40 +00:00
the_fiddler a22019d890 Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files. 2009-02-22 10:43:35 +00:00
the_fiddler 9f25573a0b Made the Color4 structure serializable and added == and != operators. 2009-01-23 15:50:31 +00:00
the_fiddler 7631328485 Added Color4 structure and overloads for Materialv/Lightv. 2009-01-23 15:24:57 +00:00