UNPKG

@spearwolf/twopoint5d

Version:

Create 2.5D realtime graphics and pixelart with WebGL and three.js

19 lines 571 B
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