ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/libgender/material.C
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 ***

File Contents

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