This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
rpgedit/src/renderer/runtime/math/collision.ts

7 lines
160 B
TypeScript

import { Movement } from './line';
import { vec2 } from 'gl-matrix';
export interface Collidable {
collide(out: vec2, move: Movement, r: number): boolean;
}