diff options
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 2 |
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; |