#include <light.h>
Public Member Functions | |
Light () | |
Light (Vector v) | |
Light (Point p) | |
Light (const Light &) | |
Light & | operator= (const Light &) |
float & | x () |
float & | y () |
float & | z () |
Colour & | intensity () |
Point | point () |
Vector | vector () |
bool & | directional () |
Private Attributes | |
bool | Directional |
float | X |
float | Y |
float | Z |
Colour | Intensity |
Friends | |
ostream & | operator<< (ostream &, Light) |
istream & | operator>> (istream &, Light &) |
Light::Light | ( | ) | [inline] |
Light::Light | ( | Vector | v | ) | [inline] |
Light::Light | ( | Point | p | ) | [inline] |
Light::Light | ( | const Light & | ) |
float& Light::x | ( | ) | [inline] |
float& Light::y | ( | ) | [inline] |
float& Light::z | ( | ) | [inline] |
Colour& Light::intensity | ( | ) | [inline] |
Point Light::point | ( | ) | [inline] |
Vector Light::vector | ( | ) | [inline] |
bool& Light::directional | ( | ) | [inline] |
ostream& operator<< | ( | ostream & | s, | |
Light | light | |||
) | [friend] |
istream& operator>> | ( | istream & | s, | |
Light & | light | |||
) | [friend] |
bool Light::Directional [private] |
float Light::X [private] |
float Light::Y [private] |
float Light::Z [private] |
Colour Light::Intensity [private] |