Searched refs:primaryDiff (Results 1 – 2 of 2) sorted by relevance
920 float primaryDiff = c.fDirection == Comparator::Direction::kHorizontal ? diff.fX : diff.fY; in nearly_flat() local921 return fabs(primaryDiff) <= std::numeric_limits<float>::epsilon() && primaryDiff != 0.0f; in nearly_flat()
1206 float primaryDiff = c.fDirection == Comparator::Direction::kHorizontal ? diff.fX : diff.fY; in nearly_flat() local1207 return fabs(primaryDiff) < std::numeric_limits<float>::epsilon() && primaryDiff != 0.0f; in nearly_flat()