Maintenance: [forced, user-approved] Family G rows 82 (GroundLightingContext), 111 (GroundRenderContext), 109 (GroundSpatial): remove
Batch #10262 by ragnarok-clanker: forced by an admin (1 lower score(s), 22 changed function(s)); checked with 170 compiled unit(s), including every includer of Source/Contents/Ground/GroundGeometry.h, Source/Contents/Ground/GroundRendering.h, Source/Contents/Ground/GroundSpatial.h, Source/Contents/World/WorldModelView.h, Source/Contents/World/WorldSpatialInitialization.h, Source/Contents/World/WorldSpatialTree.h.
This commit is contained in:
parent
67c52107e0
commit
eb47976075
22 changed files with 109 additions and 184 deletions
|
|
@ -133,7 +133,7 @@ int ClassifyModelView(const OrientedBounds& bounds, const ModelViewPlanes& plane
|
|||
// INLINED
|
||||
void DrawWorldModelLeaves(
|
||||
std::list<WorldSpatialTree*>& clipped, std::list<WorldSpatialTree*>& inside, const ModelViewPlanes& planes, const float* matrix, unsigned frame, int updates,
|
||||
GroundGeometry& ground, ModelRenderContext& models, GroundLightingContext& lighting, int* visibleRectangle
|
||||
GroundGeometry& ground, ModelRenderContext& models, int* visibleRectangle
|
||||
) {
|
||||
visibleRectangle[0] = visibleRectangle[1] = 999;
|
||||
visibleRectangle[2] = visibleRectangle[3] = 0;
|
||||
|
|
@ -157,7 +157,7 @@ void DrawWorldModelLeaves(
|
|||
model->renderFrame = frame;
|
||||
}
|
||||
|
||||
ground.DrawLit(matrix, node->groundCells, true, lighting);
|
||||
ground.DrawLit(matrix, node->groundCells, true);
|
||||
IncludeRectangle(node->groundCells, visibleRectangle);
|
||||
}
|
||||
|
||||
|
|
@ -173,7 +173,7 @@ void DrawWorldModelLeaves(
|
|||
}
|
||||
}
|
||||
|
||||
ground.DrawLit(matrix, node->groundCells, false, lighting);
|
||||
ground.DrawLit(matrix, node->groundCells, false);
|
||||
IncludeRectangle(node->groundCells, visibleRectangle);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue