Curves: Add simplify_curve_attribute
function #118560
|
@ -145,7 +145,7 @@ IndexMask simplify_curve_attribute(const Span<float3> positions,
|
|||
std::is_same_v<T, float3>)
|
||||
{
|
||||
curve_simplifiy(points,
|
||||
filedescriptor marked this conversation as resolved
Outdated
|
||||
positions.slice(points),
|
||||
positions,
|
||||
cyclic[curve_i],
|
||||
epsilon,
|
||||
attribute_data.typed<T>(),
|
||||
|
|
Loading…
Reference in New Issue
It seems clearer to slice all the input data so it's all local to the curve in
curve_simplifiy