2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-18 23:25:27 +00:00

Remove forRenderer from CGraphics PerspectiveProjectionMatrix

This commit is contained in:
2022-03-05 18:30:30 -05:00
parent 6b1948176a
commit 84b6fcfb44
20 changed files with 61 additions and 125 deletions

View File

@@ -35,7 +35,7 @@ namespace metaforce {
//}
void CFogVolumePlaneShader::addFan(const zeus::CVector3f* verts, int numVerts) {
zeus::CMatrix4f proj = CGraphics::GetPerspectiveProjectionMatrix(true);
zeus::CMatrix4f proj = CGraphics::GetPerspectiveProjectionMatrix(/*true*/);
zeus::CVector4f vert0 = proj * zeus::CVector4f(CGraphics::g_GXModelView * verts[0]);
if (!m_verts.empty()) {
m_verts.push_back(m_verts.back());