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