From 1ff5ed07b840f4f5de81592f7a9b04debf38c447 Mon Sep 17 00:00:00 2001 From: kotorifan Date: Mon, 27 Apr 2026 17:02:49 +0200 Subject: SAT works now --- src/physics.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/physics.h') diff --git a/src/physics.h b/src/physics.h index e9c0c0e..a191860 100644 --- a/src/physics.h +++ b/src/physics.h @@ -8,11 +8,7 @@ void init_physics(object_t* world, uint32_t max_objs); -bool check_collision(object_t obj1, object_t obj2); +bool check_collision(object_t* obj1, object_t* obj2); void update_physics(object_t* world, uint32_t objs_count, float gravity, float dt); -void apply_force(object_t* obj, Vector2 force); -void add_object(object_t* world, uint32_t* count, shape_t type, Vector2 pos); void clear_all_physics(object_t* world, uint32_t* count); -void push_pos(object_t* world, uint32_t count, Vector2 pos, float radius, float strength); - #endif // PHYSICS_H -- cgit v1.3