| 869 | } |
| 870 | |
| 871 | mat4 Camera::GetProjMatrix() { |
| 872 | mat4 proj_mat; |
| 873 | for (int i = 0; i < 16; ++i) { |
| 874 | proj_mat.entries[i] = (float)projection_matrix[i]; |
| 875 | } |
| 876 | return proj_mat; |
| 877 | } |
| 878 | |
| 879 | void Camera::SetAutoCamera(bool val) { |
| 880 | auto_camera = val; |
no outgoing calls
no test coverage detected