- remove debug statement

This commit is contained in:
Magnus Norddahl 2019-06-23 23:53:42 +02:00
parent e59c5cb947
commit 557206131c

View file

@ -658,7 +658,6 @@ void PolySWInputAssembly::Load(PolyTriangleThreadData *thread, const void *verti
bool PolyTriangleThreadData::IsDegenerate(const ShadedTriVertex *const* vert)
{
return false;
// A degenerate triangle has a zero cross product for two of its sides.
float ax = vert[1]->gl_Position.X - vert[0]->gl_Position.X;
float ay = vert[1]->gl_Position.Y - vert[0]->gl_Position.Y;