| 831 | } |
| 832 | |
| 833 | void Camera::reset() { |
| 834 | target_horz_fov = 90.0f; |
| 835 | near_plane = 0.1f; |
| 836 | far_plane = 1000.0f; |
| 837 | chase_distance = 0.0f; |
| 838 | old_chase_distance = 0.0f; |
| 839 | y_rotation = 0.0f; |
| 840 | x_rotation = 0.0f; |
| 841 | z_rotation = 0.0f; |
| 842 | old_y_rotation = 0.0f; |
| 843 | old_x_rotation = 0.0f; |
| 844 | old_z_rotation = 0.0f; |
| 845 | interp_steps = 1; |
| 846 | interp_progress = 0; |
| 847 | flags_ = 0; |
| 848 | flexible_fov = true; |
| 849 | } |
| 850 | |
| 851 | void Camera::SetInterpSteps(int num_steps) { |
| 852 | interp_steps = num_steps; |
no outgoing calls
no test coverage detected