pub const SIMPLIFY_TOLERANCE: f32 = 0.3;Expand description
Vertices of a line closer than this (in points) to the straight path between their neighbors are dropped: invisible, and a smooth curve of thousands of samples tessellates as a few hundred vertices.