Commit 35df8484 authored by David E. DeMarle's avatar David E. DeMarle

fix a bug in triangle frustum intersection

Change-Id: I9b39632a0f42d07453fd3744fa9920dbb979fed7
parent 8751825c
......@@ -948,6 +948,7 @@ int vtkExtractSelectedFrustum::ABoxFrustumIsect(double *bounds, vtkCell *cell)
case VTK_TRIANGLE:
{
edge = cell->GetEdge(1);
pts = edge->GetPoints();
pts->GetPoint(1, &vlist[2*3]);
break;
}
......@@ -1019,6 +1020,7 @@ int vtkExtractSelectedFrustum::ABoxFrustumIsect(double *bounds, vtkCell *cell)
case VTK_TRIANGLE:
{
edge = face->GetEdge(1);
pts = edge->GetPoints();
pts->GetPoint(1, &vlist[2*3]);
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment