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:
Zed A. Shaw 2025-08-25 23:23:05 -04:00
parent b4569622a0
commit 4a2d8770d9
4 changed files with 14 additions and 14 deletions

View file

@ -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;