Mesh: Rewrite split edges algorithm #110661

Merged
Hans Goudey merged 78 commits from HooglyBoogly/blender:split-edges-rewrite-2 into main 2023-08-30 14:23:49 +02:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 40c429b416 - Show all commits

View File

@ -104,9 +104,9 @@ static IndexMask vert_selection_from_edge(const Span<int2> edges,
return IndexMask::from_bools(array, memory);
}
static BitVector<> selection_to_bit_vector(const IndexMask &selection, const int universe_size)
static BitVector<> selection_to_bit_vector(const IndexMask &selection, const int total_size)
HooglyBoogly marked this conversation as resolved Outdated

Is universe_size standard terminology for bit vectors? Isn't this always going to be selection.size()?

Is `universe_size` standard terminology for bit vectors? Isn't this always going to be `selection.size()`?
{
BitVector<> bits(universe_size);
BitVector<> bits(total_size);
selection.to_bits(bits);
return bits;
}