Added offset calculation to camera get position #366
|
@ -149,7 +149,7 @@ namespace SHADE
|
|||
|
||||
SHVec3 SHCameraComponent::GetPosition() const noexcept
|
||||
{
|
||||
return position;
|
||||
return position + offset;
|
||||
}
|
||||
|
||||
float SHCameraComponent::GetYaw() const noexcept
|
||||
|
|
Loading…
Reference in New Issue