Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "tessel"

Index

Type aliases

Type aliases

Tessellator

Tessellator: (points: ReadonlyVec[]) => Vec[][]

Tessellation function. Receives a point array representing a polygon / cell and yields an array of point arrays, representing the subdivided cells.

Type declaration

    • (points: ReadonlyVec[]): Vec[][]
    • Parameters

      • points: ReadonlyVec[]

      Returns Vec[][]

Generated using TypeDoc