diff options
Diffstat (limited to 'env.h')
| -rw-r--r-- | env.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -23,8 +23,9 @@ typedef struct { f32 day_amount; f32 twilight_amount; - f32 cycle; - f32 day_len; + f32 day_cur; /* starting phase, 0 inclusive to 1 exclusive */ + f32 day_len; /* real seconds per complete lighting cycle */ + f32 cycle; /* current lighting phase */ /* sun/moon textures */ cstr sun_tex_key, moon_tex_key; |
