diff options
| author | iamcheeseman <[hidden email]> | 2026-02-13 20:42:28 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-02-13 20:42:28 -0500 |
| commit | 1ff729f696c895f81f0cf0d1b8a2cca1d6e43eb8 (patch) | |
| tree | 040bf0ffe933d424951159380af83c927a55a9fe /src/main.odin | |
| parent | c6261cc09f97568ad5ea966662697e01ea17b861 (diff) | |
simple raycasting mmmmmm
Diffstat (limited to 'src/main.odin')
| -rw-r--r-- | src/main.odin | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main.odin b/src/main.odin index c1b5f13..4993d3c 100644 --- a/src/main.odin +++ b/src/main.odin @@ -2,12 +2,8 @@ package demonchime import "base:runtime" -import "core:c" -import "core:c/libc" import "core:fmt" import "core:log" -import "core:math" -import "core:math/linalg" import "core:mem" import "phys" @@ -91,12 +87,12 @@ frame :: proc() { color = get_room(current_room.id).background_color, ) + + draw_room(current_room.id) for cb in draw_callbacks { cb() } - draw_room(current_room.id) - fw.draw_rect_gradient( {0, 0}, {ROOM_FADE_SIZE, f32(current_room.height)}, |
