Main Page   Class Hierarchy   Compound List   File List   Compound Members  

material.hpp

00001 #ifndef material_h
00002 #define material_h
00003 
00004 #include <GL/gl.h>
00005 #include <string>
00006 #include <vector>
00007 
00008 #include "triangle.hpp"
00009 
00010 using namespace std;
00011 
00013 
00020 class material{
00021 
00022 public:
00023 
00024         material();
00025         ~material();
00026 
00027         material& operator= (const material &mat);
00028 
00030         string name;
00031         //char name[128];
00032 
00033         //int numFaces;
00034         //int numUVs;
00035 
00036         
00037         vector<triangleInd> faces;
00038         //uv             **uvs;
00039 
00040         // reflectances
00042         GLfloat Se;             
00044         GLfloat Ka[4];
00046         GLfloat Kd[4];  
00048         GLfloat Ks[4];  
00050         GLfloat Ke[4];  
00051 
00052         
00053         GLfloat opacity;
00054 
00055         // Spring parts 
00056         // Eventually make into inherited class?
00057 
00058         // Make the material out of springs?
00059         //bool springy;
00060 
00061         //pointMass **weights;
00062         //spring **springs;
00063 
00064 };
00065 
00066 #endif // material_h

Generated on Sat May 10 10:09:36 2003 for volume-src-limited by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002