This commit is contained in:
Schluffe committed 2026-02-16 23:18:14 +01:00
1 parent f07dc0bf51
commit 31901f53f7
3 files changed
+44 -13

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import type { Vector } from "#/engine/Vector.ts";
export type Body<T extends { position: Vector }> = {
shape: T;
offset: Vector;
};
export function moveAndCollide<T extends { position: Vector }>(
body: Body<T>,
velocity: Vector,
): void {
return;
}