Revision: | 1.2 |
Committed: | Sun Oct 10 14:18:58 2004 UTC (19 years, 9 months ago) by root |
Content type: | text/plain |
Branch: | MAIN |
Changes since 1.1: | +2 -2 lines |
Log Message: | *** empty log message *** |
# | Content |
---|---|
1 | #include "opengl.h" |
2 | #include "material.h" |
3 | |
4 | material::~material () |
5 | { |
6 | } |
7 | |
8 | void simple_material::begin () |
9 | { |
10 | glMaterialfv (GL_FRONT, GL_DIFFUSE, (GLfloat *)&diffuse); |
11 | glMaterialfv (GL_FRONT, GL_SPECULAR, (GLfloat *)&specular); |
12 | glMaterialfv (GL_FRONT, GL_EMISSION, (GLfloat *)&emission); |
13 | glMaterialf (GL_FRONT, GL_SHININESS, shininess); |
14 | } |
15 | |
16 | void simple_material::end () |
17 | { |
18 | } |
19 | |
20 |