diff options
author | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-05-18 23:58:59 +0000 |
---|---|---|
committer | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-05-18 23:58:59 +0000 |
commit | 723f4a5e4693afbf5654bd830e78db13df9020ca (patch) | |
tree | 854684a756a40da1e939a782f1510d497518b60d /src/types.h | |
parent | 6741901029cd322a4abf61a91ac34afabf9b093a (diff) |
More environment mapping stuff
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@28 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h index fa8a524..3a62301 100644 --- a/src/types.h +++ b/src/types.h @@ -32,6 +32,8 @@ typedef enum { ATTRIB_NONE = 0, ATTRIB_COLOUR = 1<<0, /* Colour specified? */ ATTRIB_PULSE = 1<<1, /* Pulsating colour */ + ATTRIB_RADIUS = 1<<2, /* Radius is set */ + ATTRIB_SHINY = 1<<3, /* Primitive is shiny */ } PrimitiveAttrib; typedef enum { @@ -53,6 +55,8 @@ typedef struct { GLfloat col_g; GLfloat col_b; char *texture; + GLfloat radius; + GLfloat shininess; } Primitive; @@ -118,6 +122,9 @@ typedef struct { GLfloat aspect; int width; int height; + + GLfloat *hemisphere_v; + GLfloat *hemisphere_n; } RenderContext; |