Class tgMaterial. More...
#include <tgMaterial.h>
Public Member Functions | |
void | Apply () |
void | Color (float r, float g, float b, float a=1.0f) |
void | Random () |
tgMaterial () | |
Public Attributes | |
vec4 | ambient |
vec4 | color |
vec4 | diffuse |
float | shininess |
vec4 | specular |
Class tgMaterial.
Definition at line 19 of file tgMaterial.h.
Definition at line 16 of file tgMaterial.cpp.
void tgMaterial::Apply | ( | ) |
Definition at line 24 of file tgMaterial.cpp.
void tgMaterial::Color | ( | float | r, |
float | g, | ||
float | b, | ||
float | a = 1.0f |
||
) |
Definition at line 32 of file tgMaterial.cpp.
void tgMaterial::Random | ( | ) |
Definition at line 40 of file tgMaterial.cpp.
Definition at line 22 of file tgMaterial.h.
Definition at line 25 of file tgMaterial.h.
Definition at line 23 of file tgMaterial.h.
Definition at line 26 of file tgMaterial.h.
Definition at line 24 of file tgMaterial.h.