aboutsummaryrefslogtreecommitdiff
path: root/scene.h
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-02-23 22:34:43 +0100
committerJulian T <julian@jtle.dk>2020-02-23 22:34:43 +0100
commitaa6bcd1c813a17d57083d79c4b27a65eccd960ce (patch)
tree6e5e84898493350769f6afa03c1bcc44c6086163 /scene.h
parentf2386856f2739df397617b92edd52cfc687bb14b (diff)
Added reflections
Diffstat (limited to 'scene.h')
-rw-r--r--scene.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene.h b/scene.h
index 489aece..5e647eb 100644
--- a/scene.h
+++ b/scene.h
@@ -32,9 +32,13 @@ typedef struct light_s{
typedef struct {
vector_t color;
+ // Light properties
COORD_T defuse;
COORD_T specular;
unsigned int shine;
+
+ // Reflective properties
+ COORD_T reflective;
} material_t;
// General object structure