From aa6bcd1c813a17d57083d79c4b27a65eccd960ce Mon Sep 17 00:00:00 2001 From: Julian T Date: Sun, 23 Feb 2020 22:34:43 +0100 Subject: Added reflections --- scene.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scene.h') 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 -- cgit v1.2.3