@spearwolf/twopoint5d
Version:
a library to create 2.5d realtime graphics and pixelart with three.js
19 lines • 571 B
TypeScript
import { AABB2 } from '../AABB2.js';
import type { IDataChunk2D } from './IDataChunk2D.js';
export interface DataChunkCoords2D {
x: number;
y: number;
height: number;
width: number;
}
export declare class DataChunk2D implements IDataChunk2D {
protected readonly aabb: AABB2;
constructor(data: DataChunkCoords2D);
get left(): number;
get top(): number;
get right(): number;
get bottom(): number;
containsDataAt(x: number, y: number): boolean;
isIntersecting(aabb: AABB2): boolean;
}
//# sourceMappingURL=DataChunk2D.d.ts.map