CalcExtents: Fixed typo in streamingExtents for grass batches

This commit is contained in:
Carmine 2018-02-24 21:44:56 +01:00
parent a3050fddd6
commit bbdd014f39

View File

@ -1117,7 +1117,7 @@ namespace CodeWalker.GameFiles
emax = Vector3.Max(emax, batch.AABBMax);
smin = Vector3.Min(smin, (batch.AABBMin - batch.Batch.lodDist)); // + lodoffset
smax = Vector3.Min(smax, (batch.AABBMax + batch.Batch.lodDist)); // - lodoffset
smax = Vector3.Max(smax, (batch.AABBMax + batch.Batch.lodDist)); // - lodoffset
}
}