module GluTess: sig
.. end
Render directly to current screen.
Each vertices
in the input is a contour in the single polygon
represented by vertices list
.
type
winding_rule = [ `abs_geq_two | `negative | `nonzero | `odd | `positive ]
type
vertices = (float * float * float) list
val tesselate : ?winding:winding_rule ->
?boundary_only:bool -> ?tolerance:float -> vertices list -> unit
Render directly to current screen.
Each vertices
in the input is a contour in the single polygon
represented by vertices list
.
type
triangles = {
}
val tesselate_and_return : ?winding:winding_rule ->
?tolerance:float -> vertices list -> triangles
Return 3 lists of triangles instead of rendering directly