mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 03:47:43 +00:00
Implement --warp command-line arguments
This commit is contained in:
@@ -373,12 +373,12 @@ void CBooRenderer::CalcDrawFogFan(const zeus::CPlane* planes, int numPlanes, con
|
||||
|
||||
const zeus::CPlane& plane = planes[level];
|
||||
u32 insidePlaneCount = 0;
|
||||
bool outsidePlane[4];
|
||||
bool outsidePlane[20];
|
||||
for (int i=0 ; i<numVerts ; ++i)
|
||||
outsidePlane[insidePlaneCount++] = plane.normal().dot(verts[i]) < plane.d;
|
||||
|
||||
u32 numUseVerts = 0;
|
||||
zeus::CVector3f useVerts[4];
|
||||
zeus::CVector3f useVerts[20];
|
||||
for (int i=0 ; i<numVerts ; ++i)
|
||||
{
|
||||
int nextIdx = (i + 1) % numVerts;
|
||||
|
||||
Reference in New Issue
Block a user