Added offset calculation to camera get position #366

Merged
maverickdgg merged 2 commits from SP3-141-Camera-System into main 2023-02-26 15:56:46 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit c8baff878e - Show all commits

View File

@ -149,7 +149,7 @@ namespace SHADE
SHVec3 SHCameraComponent::GetPosition() const noexcept SHVec3 SHCameraComponent::GetPosition() const noexcept
{ {
return position; return position + offset;
} }
float SHCameraComponent::GetYaw() const noexcept float SHCameraComponent::GetYaw() const noexcept