1. 16 Mar, 2021 3 commits
    • Per-Morten Straume's avatar
      Dispose of objectsDispose as early as possible · ffecf24a
      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's avatar
      Fix incorrect count in DrawMeshInstanced · bbbe4efc
      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's avatar
      Add UnityDebugProjectExplanation.md · 47d85e97
      Per-Morten Straume authored
  2. 10 Mar, 2021 1 commit