Public Member Functions | Public Attributes
TomGine::tgMaterial Class Reference

Class tgMaterial. More...

#include <tgMaterial.h>

List of all members.

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

Detailed Description

Class tgMaterial.

Definition at line 19 of file tgMaterial.h.


Constructor & Destructor Documentation

Definition at line 16 of file tgMaterial.cpp.


Member Function Documentation

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.

Definition at line 40 of file tgMaterial.cpp.


Member Data Documentation

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.


The documentation for this class was generated from the following files:


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:27