UNPKG

@spearwolf/twopoint5d

Version:

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

14 lines 733 B
import type { Matrix4 } from 'three/webgpu'; import type { Map2DTileCoordsUtil } from './Map2DTileCoordsUtil.js'; import type { IMap2DTileCoords, IMap2DVisibilitor, IMap2DVisibleTiles } from './types.js'; export declare class RectangularVisibilityArea implements IMap2DVisibilitor { #private; needsUpdate: boolean; constructor(width?: number, height?: number); get width(): number; set width(width: number); get height(): number; set height(height: number); computeVisibleTiles(previousTiles: IMap2DTileCoords[], [centerX, centerY]: [number, number], map2dTileCoords: Map2DTileCoordsUtil, matrixWorld: Matrix4): IMap2DVisibleTiles | undefined; } //# sourceMappingURL=RectangularVisibilityArea.d.ts.map