added sample Intersect object to sample scene, added Color::magenta constant

git-svn-id: svn://anubis/fart/trunk@155 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop committed 2009-02-24 03:35:20 +00:00
1 parent f7eb4cd4b9
commit 16f38f1f27
4 files changed
+20

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ const Color Color::green = Color(0, 1, 0);
const Color Color::blue = Color(0, 0, 1);
const Color Color::yellow = Color(1, 1, 0);
const Color Color::cyan = Color(0, 1, 1);
const Color Color::magenta = Color(1, 0, 1);
Color::Color()
{
+1
View File
@@ -27,6 +27,7 @@ class Color
static const Color blue;
static const Color yellow;
static const Color cyan;
static const Color magenta;
};
Color operator+(const Color & c1, const Color & c2);