| 368 | } |
| 369 | |
| 370 | void Renderer::UpdateCameraMatrices(CAMERA_INFO *cam, float farView) |
| 371 | { |
| 372 | if (farView < MIN_FAR_VIEW) |
| 373 | farView = DEFAULT_FAR_VIEW; |
| 374 | |
| 375 | _currentGameCamera = RenderView(cam, cam->Roll, cam->Fov, 32, farView, g_Configuration.ScreenWidth, g_Configuration.ScreenHeight); |
| 376 | _gameCamera = RenderView(cam, cam->Roll, cam->Fov, 32, farView, g_Configuration.ScreenWidth, g_Configuration.ScreenHeight); |
| 377 | } |
| 378 | |
| 379 | bool Renderer::SphereBoxIntersection(BoundingBox box, Vector3 sphereCentre, float sphereRadius) |
| 380 | { |
no test coverage detected