mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 18:11:24 +01:00
refactor: detect feature vertex
This commit is contained in:
parent
3410c48c58
commit
1888b04d54
4 changed files with 116 additions and 43 deletions
4
src/types/modules.d.ts
vendored
4
src/types/modules.d.ts
vendored
|
|
@ -1,4 +1,4 @@
|
|||
declare module "lineclip" {
|
||||
export function polygon(points: number[][], bbox: number[]): number[][];
|
||||
export function lineclip(points: number[][], bbox: number[], result: number[][]): number[][];
|
||||
export function polygon(points: TPoints, bbox: [number, number, number, number]): TPoints;
|
||||
export function lineclip(points: TPoints, bbox: [number, number, number, number], result: TPoints): TPoints;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue