Maintenance: [forced, user-approved] Family W1: remove invented CameraProjectionOutputs and the four other fabricated parameters of C
Batch #10250 by ragnarok-clanker: forced by an admin (1 lower score(s), 2 changed function(s)); checked with 88 compiled unit(s), including every includer of Source/Contents/Camera/Camera.h, Source/Contents/Camera/CameraState.h.
This commit is contained in:
parent
8a743ea8e7
commit
72ed60d3a8
4 changed files with 15 additions and 23 deletions
|
|
@ -239,9 +239,7 @@ void CView::Update() {
|
|||
this->camera.desiredTarget[0] = position.x;
|
||||
this->camera.desiredTarget[1] = position.y;
|
||||
this->camera.desiredTarget[2] = position.z;
|
||||
const float rendererScale = g_renderer->UiScaleY();
|
||||
CameraProjectionOutputs outputs{g_tangent, g_cotangent, g_cameraScaleY, g_cameraScaleX};
|
||||
this->camera.Smooth(g_serviceOptions, rendererScale, g_projectionScale, g_cameraBaseDistance, outputs);
|
||||
this->camera.Smooth();
|
||||
this->shake.Apply(this->camera, g_worldViewDrawn);
|
||||
const TerrainHeight terrain = static_cast<CGameMode*>(g_modeMgr.GetGameMode())->scene->terrain->Grid();
|
||||
this->frame.Refresh(this->camera, terrain, *g_renderer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue