mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 03:07:41 +00:00
Bug fixes and CAutoMapper mouse events
This commit is contained in:
@@ -26,7 +26,7 @@ void CTargetingManager::Draw(const CStateManager& mgr, bool hideLockon) const {
|
||||
CGraphics::SetViewPointMatrix(camXf);
|
||||
zeus::CFrustum frustum;
|
||||
frustum.updatePlanes(camXf, zeus::SProjPersp(zeus::degToRad(curCam->GetFov()),
|
||||
g_Viewport.x8_width / float(g_Viewport.xc_height), 1.f, 100.f));
|
||||
g_Viewport.aspect, 1.f, 100.f));
|
||||
g_Renderer->SetClippingPlanes(frustum);
|
||||
g_Renderer->SetPerspective(curCam->GetFov(), g_Viewport.x8_width, g_Viewport.xc_height, curCam->GetNearClipDistance(),
|
||||
curCam->GetFarClipDistance());
|
||||
|
||||
Reference in New Issue
Block a user