OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
Material Class Reference

#include <material.hh>

Public Member Functions

 Material ()
 Material (const Color &amb, const Color &diff, const Color &spec, float shin, const Color &emm)
 Material (float amb, float diff, float spec, float shin, float emm)
void SetAmb (const Color &c)
void SetAmb (float c)
void SetDiff (const Color &c)
void SetDiff (float c)
void SetSpec (const Color &c)
void SetSpec (float c)
void SetShin (float s)
void SetEmm (const Color &c)
void SetEmm (float c)
void RenderGL ()

Detailed Description

Definition at line 26 of file material.hh.


Constructor & Destructor Documentation

Material ( )
Material ( const Color amb,
const Color diff,
const Color spec,
float  shin,
const Color emm 
)
Material ( float  amb,
float  diff,
float  spec,
float  shin,
float  emm 
)

Member Function Documentation

void RenderGL ( )
void SetAmb ( const Color c)
void SetAmb ( float  c)
void SetDiff ( const Color c)
void SetDiff ( float  c)
void SetEmm ( const Color c)
void SetEmm ( float  c)
void SetShin ( float  s)
void SetSpec ( const Color c)
void SetSpec ( float  c)

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