diff options
| author | tech kaczynski <tk@techkaczynski.dev> | 2026-10-22 13:27:04 +1000 |
|---|---|---|
| committer | tech kaczynski <tk@techkaczynski.dev> | 2026-10-22 13:27:04 +1000 |
| commit | 038cb9646b920936f8f497f9a4ee5b873853424e (patch) | |
| tree | a5df82a2e705c7f671ac9f2450dc88a68bbd25b0 /env.h | |
| parent | f5259b6c44b5902a0ca35de113fe16b9275ea13e (diff) | |
started work on command menu, added time of day editor.
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; |
