include/cglib/rgb.h File Reference

#include "cglib/definitions.h"

Go to the source code of this file.

Classes

struct  Rgb
 Represents an RGB color. More...

Functions

Rgb operator+ (float c, const Rgb &rgb)
 Add the given real number c to all the components of the given RGB and then return the result.
Rgb operator* (float c, const Rgb &rgb)
 Multiply the given real number to all the components of the given RGB and then return the result.


Function Documentation

Rgb operator* ( float  c,
const Rgb rgb 
) [inline]

Multiply the given real number to all the components of the given RGB and then return the result.

Rgb operator+ ( float  c,
const Rgb rgb 
) [inline]

Add the given real number c to all the components of the given RGB and then return the result.


Generated on Tue Sep 8 02:20:35 2009 for cglib by  doxygen 1.5.9