#include <material.h>
Collaboration diagram for LsgMaterial:

Data Fields | |
| LsgGroup | super |
| float | ambient [4] |
| float | diffuse [4] |
| float | specular [4] |
| float | shininess |
Related Functions | |
| (Note that these are not member functions.) | |
| LsgMaterial * | LsgMaterial_create (void) |
| void | LsgMaterial_init (LsgMaterial *self) |
| void | LsgMaterial_display (LsgMaterial *self, LsgFrustum *frustum) |
Apply material properties to all children.
|
|
Allocate and initialize a material node.
|
|
|
Constructor method for LsgMaterial. Create a new material node with default color values.
|
|
||||||||||||
|
Set material properties and display all children.
|