World of Rigid Bodies (WoRB)
|
Represents a color defined red, green, blue and alpha channels. More...
#include <Utilities.h>
Public Member Functions | |
Colorf () | |
Default constructor; black opaque color. | |
Colorf (float red, float green, float blue, float alpha=1.0f) | |
Constructs color from the given components. | |
Colorf (const Quaternion &q) | |
Conctructs color from the elements of quaternion. | |
Data Fields | |
float | R |
Holds red color component. | |
float | G |
Holds green color component. | |
float | B |
Holds blue color component. | |
float | A |
Holds aplpha (transparency) channel. |
Represents a color defined red, green, blue and alpha channels.
Definition at line 123 of file Utilities.h.
WoRB::GLUT_Renderer::Colorf::Colorf | ( | ) | [inline] |
WoRB::GLUT_Renderer::Colorf::Colorf | ( | float | red, |
float | green, | ||
float | blue, | ||
float | alpha = 1.0f |
||
) | [inline] |
WoRB::GLUT_Renderer::Colorf::Colorf | ( | const Quaternion & | q | ) | [inline] |
Holds aplpha (transparency) channel.
Definition at line 128 of file Utilities.h.
Referenced by WoRB_TestBed::ReconfigureTestBed(), WoRB::Ball::Render(), and WoRB::Box::Render().
Holds blue color component.
Definition at line 127 of file Utilities.h.
Referenced by WoRB::Ball::Render(), and WoRB::Box::Render().
Holds green color component.
Definition at line 126 of file Utilities.h.
Referenced by WoRB::Ball::Render(), and WoRB::Box::Render().
Holds red color component.
Definition at line 125 of file Utilities.h.
Referenced by WoRB::Ball::Render(), and WoRB::Box::Render().