Commit aec1c0b7 authored by David E. DeMarle's avatar David E. DeMarle Committed by Code Review

Merge topic 'fix-frustum-bug' into master

35df8484 fix a bug in triangle frustum intersection
parents c76a183c 35df8484
......@@ -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