Function tess2_sys::tessTesselate
[−]
[src]
pub unsafe extern "C" fn tessTesselate(
tess: *mut TESStesselator,
windingRule: TessWindingRule,
elementType: TessElementType,
polySize: c_int,
vertexSize: c_int,
normal: *const TESSreal
) -> c_int
Tesselates stored paths
Arguments
windingRule
- see OpenGL tesselation docs for moreelementType
- specifies output typepolySize
- maximum number of vertices per generated polygonvertexSize
- numer of coordinates per vertex, can be 2 or 3normal
- the normal of the input contours, if null the normal is calculated automatically.
First call to this function invalidates internal input buffers, so every call to tessAddContour after calling tessTesselate is not affected by previous data