Changed draw.odin, removed DearImgui

This commit is contained in:
sam
2026-03-22 08:34:27 +05:45
parent 09941e3e1d
commit 9af832adf6
17 changed files with 56 additions and 43 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ import b2 "vendor:box2d"
import im "shared:odin-imgui"
import "vendor:glfw"
import "base:runtime"
import draw "./draw"
/*
Handling input
@@ -67,7 +68,7 @@ handle_entity_mode :: proc(
interface := &game.interface
level := &game_data.levels[game.curr_level]
input := &state.input
mpos := camera_convert_screen_to_world(&state.draw.cam, input.mouse)
mpos := draw.camera_convert_screen_to_world(&state.draw.cam, input.mouse)
//Setlect entity
if is_key_pressed(state, glfw.MOUSE_BUTTON_LEFT)