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
@@ -9,6 +9,7 @@ import "core:time"
import b2 "vendor:box2d"
import "core:fmt"
import "core:encoding/cbor"
import draw "./draw"
/*
The engine can provide helper functions so that it'll be easier to write
@@ -35,7 +36,7 @@ engine_world :: struct {
revolute_joint_defs : [dynamic]revolt_joint_def,
distant_joint_defs : [dynamic]distance_joint_def,
joints : [dynamic]b2.JointId `cbor:"-"`,
cam : Camera,
cam : draw.Camera,
name : string,
}