include/cglib/rgba.h File Reference

#include "cglib/definitions.h"

Go to the source code of this file.

Classes

struct  Rgba
 Represents an RGBA color. More...

Functions

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


Function Documentation

Rgba operator* ( float  c,
const Rgba rgba 
) [inline]

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

Rgba operator+ ( float  c,
const Rgba rgba 
) [inline]

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


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