color3 Struct Reference

RGB. More...

#include <screen.hpp>

List of all members.

Public Member Functions

 color3 ()
 color3 (const vect3d &v)
 color3 (unsigned char r, unsigned char g, unsigned char b)

Public Attributes

unsigned char b
unsigned char g
unsigned char r

Friends

bool operator== (const color3 &l, const color3 &r)
bool operator!= (const color3 &l, const color3 &r)


Detailed Description

RGB.

Definition at line 29 of file screen.hpp.


Constructor & Destructor Documentation

color3::color3 (  )  [inline]

Definition at line 31 of file screen.hpp.

color3::color3 ( const vect3d v  )  [inline]

Definition at line 32 of file screen.hpp.

color3::color3 ( unsigned char  r,
unsigned char  g,
unsigned char  b 
) [inline]

Definition at line 36 of file screen.hpp.


Friends And Related Function Documentation

bool operator== ( const color3 l,
const color3 r 
) [friend]

Definition at line 38 of file screen.hpp.

bool operator!= ( const color3 l,
const color3 r 
) [friend]

Definition at line 39 of file screen.hpp.


Member Data Documentation

unsigned char color3::b

Definition at line 41 of file screen.hpp.

unsigned char color3::g

Definition at line 41 of file screen.hpp.

unsigned char color3::r

Definition at line 41 of file screen.hpp.


The documentation for this struct was generated from the following file:
Generated on Thu Dec 6 20:31:16 2007 for Ephi by  doxygen 1.5.0