This commit is contained in:
Schluffe
2026-02-16 23:18:14 +01:00
parent f07dc0bf51
commit 31901f53f7
3 changed files with 44 additions and 13 deletions
+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;
}