Function msdfgen_sys::msdfgen_edgeColoringSimple
source · pub unsafe extern "C" fn msdfgen_edgeColoringSimple(
shape: *mut msdfgen_Shape,
angleThreshold: f64,
seed: c_ulonglong
)
Expand description
Assigns colors to edges of the shape in accordance to the multi-channel distance field technique. May split some edges if necessary. angleThreshold specifies the maximum angle (in radians) to be considered a corner, for example 3 (~172 degrees). Values below 1/2 PI will be treated as the external angle.