Merge pull request #366 from SHADE-DP/SP3-141-Camera-System

Added offset calculation to camera get position
This commit is contained in:
XiaoQiDigipen 2023-02-26 15:56:46 +08:00 committed by GitHub
commit b4930b63f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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