Lines Matching refs:corners
321 } corners[] = in doesLineSegmentExitDiamond() local
330 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(corners); ++ndx) in doesLineSegmentExitDiamond()
332 const tcu::Vector<deInt64,2> p = diamondCenter + corners[ndx].dp; in doesLineSegmentExitDiamond()
341 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT) in doesLineSegmentExitDiamond()
345 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT_FIRST_QUARTER && in doesLineSegmentExitDiamond()
350 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT_SECOND_QUARTER && in doesLineSegmentExitDiamond()
356 if (lineInCornerAngleRange(line, corners[ndx].dp)) in doesLineSegmentExitDiamond()
358 const bool startIsInside = corners[ndx].pointInclusive || p != line.m_v0; in doesLineSegmentExitDiamond()
359 const bool endIsOutside = !corners[ndx].pointInclusive || p != line.m_v1; in doesLineSegmentExitDiamond()
369 if (corners[ndx].endBehavior == DiamondCorners::CORNER_END_CASE_DIRECTION || in doesLineSegmentExitDiamond()
370 corners[ndx].endBehavior == DiamondCorners::CORNER_END_CASE_DIRECTION_AND_FIRST_QUARTER || in doesLineSegmentExitDiamond()
371 corners[ndx].endBehavior == DiamondCorners::CORNER_END_CASE_DIRECTION_AND_SECOND_QUARTER) in doesLineSegmentExitDiamond()
374 if (lineInCornerAngleRange(line, corners[ndx].dp)) in doesLineSegmentExitDiamond()
379 if (corners[ndx].endBehavior == DiamondCorners::CORNER_END_CASE_DIRECTION_AND_FIRST_QUARTER && in doesLineSegmentExitDiamond()
383 if (corners[ndx].endBehavior == DiamondCorners::CORNER_END_CASE_DIRECTION_AND_SECOND_QUARTER && in doesLineSegmentExitDiamond()
392 if (corners[ndx].startBehavior == DiamondCorners::CORNER_START_CASE_OUTSIDE) in doesLineSegmentExitDiamond()
395 if (lineInCornerOutsideAngleRange(line, corners[ndx].dp)) in doesLineSegmentExitDiamond()
400 if (corners[ndx].startBehavior == DiamondCorners::CORNER_START_CASE_POSITIVE_Y_45 && in doesLineSegmentExitDiamond()
407 if (corners[ndx].startBehavior == DiamondCorners::CORNER_START_CASE_NEGATIVE_Y_45 && in doesLineSegmentExitDiamond()