| 19 | } |
| 20 | |
| 21 | void FirstPersonShooterCamera::SetTarget(const Maths::Vector3& target) { |
| 22 | Camera::SetTarget(target); |
| 23 | m_forward = Maths::normalize(m_position - m_target); |
| 24 | m_radius = Maths::length(m_forward); |
| 25 | } |
| 26 | |
| 27 | void FirstPersonShooterCamera::SetPosition(const Maths::Vector3& position) { |
| 28 | Camera::SetPosition(position); |
nothing calls this directly
no outgoing calls
no test coverage detected