diff options
| author | Joel Stålnacke <joel@saker.fi> | 2026-03-23 19:50:18 +0200 |
|---|---|---|
| committer | Joel Stålnacke <joel@saker.fi> | 2026-03-23 19:50:18 +0200 |
| commit | 3a1f9fe6800ef5fe7bbf1c0a5976720383ba84fe (patch) | |
| tree | f1218eb4085a654f6bb70671b41b4a74e646c052 /lib/physics.h | |
| parent | 3870982f640260822bf605e693782ce9f5d79cf6 (diff) | |
Rewrite native code in Odin and use ECSodin
Diffstat (limited to 'lib/physics.h')
| -rw-r--r-- | lib/physics.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/physics.h b/lib/physics.h deleted file mode 100644 index e1c53f3..0000000 --- a/lib/physics.h +++ /dev/null @@ -1,17 +0,0 @@ -#include "types.h" - -struct snapshot; - -/* A game world */ -struct context { - int32_t snapshots_len; - struct snapshot *snapshots; -}; - -struct context *dp_physics_context_create(int32_t snapshots, int32_t players, int32_t balls); -void dp_physics_context_free(struct context *); - -struct snapshot *dp_physics_context_get_snapshot(struct context *); -void dp_physics_context_return_snapshot(struct context *, struct snapshot *); - -int dp_physics_tick(const struct snapshot *current, double delta, struct snapshot *next); |
