diff options
| author | Xander Swan <no email> | 2025-12-17 18:38:21 -0500 |
|---|---|---|
| committer | Xander Swan <no email> | 2025-12-17 18:38:21 -0500 |
| commit | ce4d64bd41937d7dff18ca607122188dc338d696 (patch) | |
| tree | ad5f7cbdffcc1478883cbca0ea7b8365b2108d0a /src/phys/body.odin | |
| parent | 87a7a010ecbe2cb99fedf44d0cac31e2efae86d5 (diff) | |
switch to raylib, update some structure
Diffstat (limited to 'src/phys/body.odin')
| -rw-r--r-- | src/phys/body.odin | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/phys/body.odin b/src/phys/body.odin index fcae697..0256dee 100644 --- a/src/phys/body.odin +++ b/src/phys/body.odin @@ -37,7 +37,6 @@ Body :: struct { } make_body :: proc( - w: ^World, rect: Rect, layers := bit_set[Layer; u16]{.DEFAULT}, mask := bit_set[Layer; u16]{.DEFAULT}, @@ -48,7 +47,7 @@ make_body :: proc( mask = mask, active = true, } - return add_body(w, b) + return add_body(b) } aabb_hori :: proc(a: Rect, b: Rect) -> bool { |
