This commit is contained in:
2026-03-24 10:23:05 +05:45
parent 739a806493
commit 5bc235f1ab
9 changed files with 335 additions and 303 deletions
+2 -2
View File
@@ -105,7 +105,7 @@ interface_get_default :: proc(interface: ^interface_state)
interface_draw_options :: proc(state: ^engine_state)
{
debug_draw := &state.debug_draw
im.SliderFloat("Zoom", &state.draw.cam.zoom, 0, 100)
im.Checkbox("Shapes", &debug_draw.drawShapes)
im.Checkbox("Joints", &debug_draw.drawJoints)
@@ -140,7 +140,7 @@ mu_interface_game_mode :: proc(state: ^engine_state, interface: ^interface_state
{
if mu.begin_window(&state.mu_ctx, "Options", {200, 150, 200, 400}){
debug_draw := &state.debug_draw
mu.label(&state.mu_ctx, "Zoom")
mu.slider(&state.mu_ctx, &state.draw.cam.zoom,0, 100)