Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5009 in orxonox.OLD for orxonox/trunk/src/util/color.h


Ignore:
Timestamp:
Aug 14, 2005, 3:03:02 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: added class Color for easy color-transformation

File:
1 copied

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/color.h

    r5000 r5009  
    11/*!
    2  * @file proto_class.h
    3  * @brief Definition of ...
     2 * @file color.h
     3 * @brief Definition of color-calculations
     4 *
     5 * code borrowed from:
     6 * http://www.easyrgb.com/math.php
    47*/
    58
    6 #ifndef _PROTO_CLASS_H
    7 #define _PROTO_CLASS_H
     9#ifndef _COLOR_H
     10#define _COLOR_H
    811
    9 #include "base_object.h"
     12//#include "vector.h"
     13class Vector;
    1014
    11 // FORWARD DECLARATION
    12 
    13 
    14 
    15 //! A class for ...
    16 class ProtoClass : public BaseObject {
    17 
    18  public:
    19   ProtoClass();
    20   virtual ~ProtoClass();
    21 
    22 
    23  private:
    24 
     15class Color
     16{
     17  Vector RGBtoHSV (Vector RGB);
     18  Vector HSVtoRGB (Vector HSV);
    2519};
    2620
    27 #endif /* _PROTO_CLASS_H */
     21#endif /* _COLOR_H */
Note: See TracChangeset for help on using the changeset viewer.