added static const cyan color, added cone to sample scene

git-svn-id: svn://anubis/fart/trunk@134 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop committed 2009-02-19 18:30:02 +00:00
1 parent 2b1603cf26
commit 52103bf543
3 files changed
+15 -1

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ const Color Color::red = Color(1, 0, 0);
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);
Color::Color()
{
+1
View File
@@ -26,6 +26,7 @@ class Color
static const Color green;
static const Color blue;
static const Color yellow;
static const Color cyan;
};
Color operator+(const Color & c1, const Color & c2);