l'amelioration du frustum marche po enfaite

This commit is contained in:
StratiX0
2024-04-04 09:02:33 +02:00
parent 5f06a7391e
commit 46c1a03bed
3 changed files with 3 additions and 13 deletions

View File

@@ -727,7 +727,7 @@ bool ApplicationClass::Render(float rotation, float x, float y, float z)
}
// Construct the frustum.
m_Frustum->ConstructFrustum(viewMatrix, projectionMatrix, SCREEN_DEPTH, m_screenWidth, m_screenHeight);
m_Frustum->ConstructFrustum(viewMatrix, projectionMatrix, SCREEN_DEPTH);
// Get the number of models that will be rendered.
modelCount = m_ModelList->GetModelCount();