package lablgl

  1. Overview
  2. Docs
type winding_rule = [
  1. | `abs_geq_two
  2. | `negative
  3. | `nonzero
  4. | `odd
  5. | `positive
]
type vertices = (float * float * float) list
val tesselate : ?winding:winding_rule -> ?boundary_only:bool -> ?tolerance:float -> vertices list -> unit
type triangles = {
  1. singles : vertices list;
  2. strips : vertices list;
  3. fans : vertices list;
}
val tesselate_and_return : ?winding:winding_rule -> ?tolerance:float -> vertices list -> triangles
OCaml

Innovation. Community. Security.