ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/material.C
Revision: 1.1
Committed: Sun Oct 10 14:15:15 2004 UTC (21 years, 11 months ago) by root
Content type: text/plain
Branch: MAIN
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 #include "opengl.h"
2     #include "material.h"
3    
4     material::~material ()
5     {
6     }
7    
8     void simple_material::push ()
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::pop ()
17     {
18     }
19    
20