Skip to content

Commit

Permalink
refactor: fix compiler warning - unused variable
Browse files Browse the repository at this point in the history
Remove an unused variable in CityOnPlanet.
  • Loading branch information
mwerle committed Nov 19, 2024
1 parent c426b55 commit 0c3510c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/CityOnPlanet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,6 @@ void CityOnPlanet::Render(Graphics::Renderer *r, const CameraContext *camera, co
return;

// Early frustum test of whole city.
const vector3d stationOrigin = station->GetPosition();
const vector3d stationPos = viewTransform * (station->GetPosition() + m_realCentre);

if (!camera->GetFrustum().TestPoint(stationPos, m_clipRadius))
Expand Down

0 comments on commit 0c3510c

Please sign in to comment.