This commit is contained in:
Schluffe
2026-02-19 20:59:10 +01:00
parent 8ea950db5a
commit c95621072c
14 changed files with 264 additions and 319 deletions
+1 -9
View File
@@ -1,13 +1,5 @@
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 {
export function moveAndCollide<T>(body: T, velocity: Vector): void {
return;
}