Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Mar 7, 2006, 11:12:31 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: performance issues

File:
1 edited

Legend:

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

    r5011 r7195  
    1010#define _COLOR_H
    1111
    12 //#include "vector.h"
    13 class Vector;
     12#include "vector.h"
    1413
    1514//! a very abstract Class that helps transforming Colors into different Systems
    1615class Color
    1716{
    18   public:
     17public:
    1918  static Vector RGBtoHSV (const Vector& RGB);
     19  static void RGBtoHSV (const Vector& RGB, Vector& HSV);
    2020  static Vector HSVtoRGB (const Vector& HSV);
     21  static void HSVtoRGB (const Vector& HSV, Vector& RGB);
    2122
     23private:
    2224  static float minrgb(float r, float g, float b);
    2325  static float maxrgb(float r, float g, float b);
Note: See TracChangeset for help on using the changeset viewer.