Last change
on this file since 5009 was
5009,
checked in by bensch, 19 years ago
|
orxonox/trunk: added class Color for easy color-transformation
|
File size:
305 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file color.h |
---|
3 | * @brief Definition of color-calculations |
---|
4 | * |
---|
5 | * code borrowed from: |
---|
6 | * http://www.easyrgb.com/math.php |
---|
7 | */ |
---|
8 | |
---|
9 | #ifndef _COLOR_H |
---|
10 | #define _COLOR_H |
---|
11 | |
---|
12 | //#include "vector.h" |
---|
13 | class Vector; |
---|
14 | |
---|
15 | class Color |
---|
16 | { |
---|
17 | Vector RGBtoHSV (Vector RGB); |
---|
18 | Vector HSVtoRGB (Vector HSV); |
---|
19 | }; |
---|
20 | |
---|
21 | #endif /* _COLOR_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.