| 14 | } |
| 15 | |
| 16 | void FirstPersonShooterCamera::SetPitchAngle(float degree) { |
| 17 | float rad = Maths::radians(degree); |
| 18 | m_pitch_angle = Maths::clamp(rad, -Maths::pi<float>() + 0.1f, Maths::pi<float>() - 0.1f); |
| 19 | } |
| 20 | |
| 21 | void FirstPersonShooterCamera::SetTarget(const Maths::Vector3& target) { |
| 22 | Camera::SetTarget(target); |
nothing calls this directly
no outgoing calls
no test coverage detected