Using global meshlet culling list

This commit is contained in:
Dynamitos committed 2024-05-12 19:36:32 +02:00
1 parent 7fc7ba56d4
commit 2762f9e729
22 files changed
+399 -324

No files matched your search

+1 -4
View File
@@ -645,10 +645,7 @@ private:
else
{
// And move the current elements into that one
for(size_type i = 0; i < arraySize; ++i)
{
newData[i] = std::forward<Type>(_data[i]);
}
std::uninitialized_move(begin(), end(), Iterator(newData));
// As well as default initialize the others
for (size_type i = arraySize; i < allocated; ++i)
{