- 16 Mar, 2021 3 commits
-
-
Per-Morten Straume authored
objectsDispose was originally disposed of at the end of the LoadFile function. However, we can dispose of it as soon as the MakeFileObjectSoAJob is finished. Also added an objectCount variable for clarity, and to avoid using objects.Length after scheduling objectDispose.Dispose.
-
Per-Morten Straume authored
The last Graphics.DrawMeshInstanced call is supposed to only render stragglers that don't fit in full batches. However, instead it renders 1023 elements, rendering extra elements that shouldn't be there. This mistake was probably due to a copy and paste error. Fixed by introducing a stragglerCount to avoid calling % twice and to give better clarity.
-
Per-Morten Straume authored
-
- 10 Mar, 2021 1 commit
-
-
Per-Morten Straume authored
-