Skip to content

Commit

Permalink
- remove debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Jun 23, 2019
1 parent e59c5cb commit 5572061
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/rendering/polyrenderer/drawers/poly_triangle.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 5572061

Please sign in to comment.