Added missing clip against maximum azimuth.

This commit is contained in:
Robert Osfield
2006-06-05 16:25:29 +00:00
parent 5670ce8c0a
commit 732ca180d1

View File

@@ -2930,6 +2930,10 @@ SphereSegment::LineList SphereSegment::computeIntersection(const osg::Matrixd& m
tif.trim(azMinLines, elevMinIntersector);
tif.trim(azMaxLines, elevMinIntersector);
// trim the azim intersection lines by the elevation
tif.trim(azMinLines, elevMaxIntersector);
tif.trim(azMaxLines, elevMaxIntersector);
// trim the centeral ends of the azim lines
tif.trim(azMinLines,azMinEndIntersector);
tif.trim(azMaxLines,azMaxEndIntersector);