Curves: Add simplify_curve_attribute
function #118560
|
@ -58,7 +58,7 @@ static void ramer_douglas_peucker(const IndexRange range,
|
|||
/* Mark all points to be kept. */
|
||||
points_to_delete.slice(range).fill(false);
|
||||
|
||||
filedescriptor marked this conversation as resolved
|
||||
Stack<IndexRange> stack;
|
||||
Stack<IndexRange, 32> stack;
|
||||
stack.push(range);
|
||||
while (!stack.is_empty()) {
|
||||
const IndexRange sub_range = stack.pop();
|
||||
|
|
Loading…
Reference in New Issue
Maybe give this a slightly larger inline buffer to avoid allocations for every curve