diff options
author | kdx <kikoodx@paranoici.org> | 2023-04-07 19:47:54 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-04-07 19:47:54 +0200 |
commit | 103dee531195bfbe908a2dae97f670eeae7ab56c (patch) | |
tree | 3e4f8315003931d4b6083ae6ba6f91af94ef99c7 /main.c | |
parent | 30abdaa8a96a821bf4afe51087d26e7c28820698 (diff) | |
download | tzr-103dee531195bfbe908a2dae97f670eeae7ab56c.tar.gz |
additive lights
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -50,10 +50,12 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char **argv) if (TZR_LightBegin()) return 1; - TZR_DrawSetColor(1.0f, 1.0f, 1.0f, 1.0f); + TZR_DrawSetColor(0.1f, 0.1f, 0.1f, 1.0f); TZR_DrawClear(); TZR_DrawSetColor(0.0f, 1.0f, 1.0f, 1.0f); TZR_DrawRectangle(10, 10, 128, 64, .fill=true); + TZR_DrawSetColor(1.0f, 0.0f, 0.0f, 1.0f); + TZR_DrawRectangle(64, 30, 128, 64, .fill=true); if (TZR_LightEnd()) return 1; |