Navigation Menu

Skip to content

Commit

Permalink
#5455: Tweak view position
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Jan 25, 2021
1 parent 6b7edd3 commit 52960b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radiant/ui/common/MapPreview.cpp
Expand Up @@ -33,8 +33,8 @@ void MapPreview::setRootNode(const scene::IMapRootNodePtr& root)
auto sceneBounds = getSceneBounds();
auto distance = sceneBounds.getRadius() * 3.0f;

setViewOrigin(sceneBounds.getOrigin() + Vector3(-0.5, -0.8, 0.3) * distance);
setViewAngles(Vector3(20, 300, 0));
setViewOrigin(sceneBounds.getOrigin() + Vector3(-0.5, -0.8, 0.4) * distance);
setViewAngles(Vector3(26, 300, 0));
}
}

Expand Down

0 comments on commit 52960b4

Please sign in to comment.