WIP
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user