mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 15:07:41 +00:00
Windows fixes and updated rendering interface
This commit is contained in:
@@ -336,7 +336,7 @@ void CBooRenderer::CalcDrawFogFan(const zeus::CPlane* planes, int numPlanes, con
|
||||
for (int i=0 ; i<numVerts ; ++i)
|
||||
{
|
||||
int nextIdx = (i + 1) % numVerts;
|
||||
int insidePair = outsidePlane[i] | (outsidePlane[nextIdx] << 1);
|
||||
int insidePair = int(outsidePlane[i]) | (int(outsidePlane[nextIdx]) << 1);
|
||||
if (!(insidePair & 0x1))
|
||||
useVerts[numUseVerts++] = verts[i];
|
||||
if (insidePair == 1 || insidePair == 2)
|
||||
|
||||
Reference in New Issue
Block a user