Light Culling still doesn't work properly

This commit is contained in:
Dynamitos
2022-02-24 22:38:26 +01:00
parent 5268bb68e2
commit 84049a762c
44 changed files with 163 additions and 151 deletions
+2 -2
View File
@@ -320,7 +320,7 @@ public:
{
remove(it - beginIt, keepOrder);
}
constexpr void remove(int index, bool keepOrder = true)
constexpr void remove(size_type index, bool keepOrder = true)
{
if (keepOrder)
{
@@ -333,7 +333,7 @@ public:
{
_data[index] = std::move(_data[arraySize - 1]);
}
arraySize--;
std::allocator_traits<allocator_type>::destroy(allocator, &_data[--arraySize]);
markIteratorDirty();
}
constexpr void resize(size_type newSize)