// chunk5's polygon fill over the PrimVert*/SecVert* arrays in RAM. #ifndef CHUNK5_POLYGON_H #define CHUNK5_POLYGON_H #include #include // EmitPrimaryVertex: append the 8-byte cached vertex at `cached`. void chunk5EmitPrimaryVertex(uint16_t cached); // ProcessVertex1/2's polygon branch: pool the vertex in `slot`. void chunk5PoolVertexFromSlot(uint8_t slot, bool seedOutcode); // PolygonScanFillSetup: entered with $B5 = vertex count - 1. void chunk5PolygonScanFillSetup(void); #endif