Skip to content
Permalink
Browse files

- remove debug statement

  • Loading branch information...
dpjudas committed Jun 23, 2019
1 parent e59c5cb commit 557206131cdc5c2c3d4e571cf17176ade05e5855
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/rendering/polyrenderer/drawers/poly_triangle.cpp
@@ -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;

0 comments on commit 5572061

Please sign in to comment.
You can’t perform that action at this time.