Cleaned up how the camera is configured so that it can be easily queried in other parts like the autowalker.
This commit is contained in:
parent
b4569622a0
commit
4a2d8770d9
4 changed files with 14 additions and 14 deletions
|
@ -59,7 +59,7 @@ namespace gui {
|
|||
if($rayview->play_move()) {
|
||||
$needs_render = false;
|
||||
return std::make_optional<Position>(
|
||||
$rayview->camera_target(),
|
||||
$rayview->camera_at,
|
||||
$rayview->aiming_at);
|
||||
} else {
|
||||
$needs_render = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue