- Removed merge sort implementation
- Use a temporary array and QuickSort (TList.Sort) to sort the initial drawlist - Clear the drawlist in the TLandscape.FillDrawList method
This commit is contained in:
@@ -2255,7 +2255,7 @@ begin
|
||||
FLandscape.PrepareBlocks((FX + FLowOffsetX) div 8, (FY + FLowOffsetY) div 8, (FX + FHighOffsetX) div 8 + 1, (FY + FHighOffsetY) div 8 + 1);
|
||||
PrepareVirtualLayer(FDrawDistance * 2 + 1, FDrawDistance * 2 + 1);
|
||||
|
||||
FScreenBuffer.Clear;
|
||||
//FScreenBuffer.Clear;
|
||||
//TODO : Virtual Layer
|
||||
FLandscape.FillDrawList(FScreenBuffer, FX + FLowOffsetX, FY + FLowOffsetY,
|
||||
FRangeX, FRangeY, frmBoundaries.tbMinZ.Position,
|
||||
|
||||
Reference in New Issue
Block a user