msdfgen_edgeColoringByDistance

Function msdfgen_edgeColoringByDistance 

Source
pub unsafe extern "C" fn msdfgen_edgeColoringByDistance(
    shape: *mut msdfgen_Shape,
    angleThreshold: f64,
    seed: c_ulonglong,
)
Expand description

The alternative coloring by distance tries to use different colors for edges that are close together. This should theoretically be the best strategy on average. However, since it needs to compute the distance between all pairs of edges, and perform a graph optimization task, it is much slower than the rest.