UNPKG

@spearwolf/twopoint5d

Version:

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

20 lines 792 B
import { DataChunk2D, type DataChunkCoords2D } from './DataChunk2D.js'; interface StringDataIdsChunk2DParams extends DataChunkCoords2D { data: string; compression?: string; } interface Uint32DataIdsChunk2DParams extends DataChunkCoords2D { uint32Arr: Uint32Array; } export type DataIdsChunk2DParams = StringDataIdsChunk2DParams | Uint32DataIdsChunk2DParams; export declare class DataIdsChunk2D extends DataChunk2D { #private; protected readonly data: DataIdsChunk2DParams; constructor(data: DataIdsChunk2DParams); protected prepareData(): Uint32Array; protected get uint32Arr(): Uint32Array; protected readDataIdAtLocal(x: number, y: number): number; readDataIdAt(x: number, y: number): number; } export {}; //# sourceMappingURL=DataIdsChunk2D.d.ts.map