|
Easy3D 2.6.1
|
#include <state.h>
Public Member Functions | |
| Material ()=default | |
| Default constructor. | |
| Material (const vec4 &ambi, const vec4 &spec, float shin) | |
| Parameterized constructor. | |
Public Attributes | |
| vec4 | ambient |
| Ambient color. | |
| vec4 | specular |
| Specular color. | |
| float | shininess |
| Specular power. | |
Material definition.
Parameterized constructor.
| ambi | The ambient color. |
| spec | The specular color. |
| shin | The shininess value. |
Initializes the Material object with the given ambient color, specular color, and shininess value.