Zap::Color struct Reference
Zap::Color Struct Reference
#include <point.h>
Constructor & Destructor Documentation
Zap::Color::Color |
( |
const Color & |
c |
) |
[inline] |
|
Zap::Color::Color |
( |
float |
red = 1, |
|
|
float |
green = 1, |
|
|
float |
blue = 1 |
|
) |
[inline] |
|
Member Function Documentation
void Zap::Color::read |
( |
const char ** |
argv |
) |
[inline] |
|
void Zap::Color::interp |
( |
float |
t, |
|
|
const Color & |
c1, |
|
|
const Color & |
c2 |
|
) |
[inline] |
|
void Zap::Color::set |
( |
float |
_r, |
|
|
float |
_g, |
|
|
float |
_b |
|
) |
[inline] |
|
void Zap::Color::set |
( |
const Color & |
c |
) |
[inline] |
|
Color Zap::Color::operator+ |
( |
const Color & |
c |
) |
const [inline] |
|
Color Zap::Color::operator- |
( |
const Color & |
c |
) |
const [inline] |
|
Color Zap::Color::operator- |
( |
|
) |
const [inline] |
|
Color& Zap::Color::operator+= |
( |
const Color & |
c |
) |
[inline] |
|
Color& Zap::Color::operator-= |
( |
const Color & |
c |
) |
[inline] |
|
Color Zap::Color::operator * |
( |
const float |
f |
) |
[inline] |
|
Color& Zap::Color::operator *= |
( |
const float |
f |
) |
[inline] |
|
Field Documentation