aboutsummaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authortaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-08-10 19:14:40 +0000
committertaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-08-10 19:14:40 +0000
commit9836d52cebef33002b8cea7d2e15d4e0da043e76 (patch)
treebe29c88526015ce27b8c480b4ce79c2b5a038ab2 /src/types.h
parent98315c0a86e2d8157e3aec73d532bb4c87860ed2 (diff)
Process texture and Ks components from OBJ files
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@246 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index 7f1119f..1304650 100644
--- a/src/types.h
+++ b/src/types.h
@@ -49,6 +49,7 @@ typedef enum {
ATTRIB_RADIUS = 1<<2, /* Radius is set */
ATTRIB_SHINY = 1<<3, /* Primitive is shiny */
ATTRIB_SWIRLY = 1<<4, /* Primitive is texture with swirlyness */
+ ATTRIB_COLSPEC = 1<<5, /* Specular colour specified? */
} PrimitiveAttrib;
typedef enum {
@@ -71,6 +72,7 @@ typedef struct {
GLfloat col_r;
GLfloat col_g;
GLfloat col_b;
+ GLfloat colspec;
char *texture;
GLfloat radius;
GLfloat shininess;