MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / UpdateCameraMatrices

Method UpdateCameraMatrices

TombEngine/Renderer/RendererHelper.cpp:370–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

UpdateCameraFunction · 0.80

Calls 1

RenderViewClass · 0.85

Tested by

no test coverage detected