Software: Fix zfreeze with CullMode::All

This commit is contained in:
Pokechu22
2021-11-29 17:51:02 -08:00
parent 164e0f742d
commit 59f299d5d6
7 changed files with 78 additions and 41 deletions

View File

@ -15,8 +15,10 @@ void ProcessLine(OutputVertexData* v0, OutputVertexData* v1);
void ProcessPoint(OutputVertexData* v);
bool CullTest(const OutputVertexData* v0, const OutputVertexData* v1, const OutputVertexData* v2,
bool& backface);
bool IsTriviallyRejected(const OutputVertexData* v0, const OutputVertexData* v1,
const OutputVertexData* v2);
bool IsBackface(const OutputVertexData* v0, const OutputVertexData* v1, const OutputVertexData* v2);
void PerspectiveDivide(OutputVertexData* vertex);
} // namespace Clipper