Function tesselate

  • Tesselate the flattened polygon

    Parameters

    • vertices: number[]

      flattened vertices to append to

    • indices: number[]

      Polygon indices to append to

    • modulo: number

      Modulo for tesselation

    • dim: number

      number of dimensions

    Returns void