Lines Matching refs:crossProduct
84 const float crossProduct = (u.x() * v.y() - u.y() * v.x()); in isTriangleClockwise() local
86 return crossProduct > 0.0f; in isTriangleClockwise()
112 const float crossProduct = (line.x() * v.y() - line.y() * v.x()); in pixelNearLineSegment() local
119 if (crossProduct * crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(line)) in pixelNearLineSegment()
175 const float crossProduct = (u.x() * v.y() - u.y() * v.x()); in triangleArea() local
177 return crossProduct / 2.0f; in triangleArea()
2150 const deInt64 crossProduct = (edge.x() * v.y() - edge.y() * v.x()); in calculateTriangleCoverage() local
2156 …if (crossProduct < 0 && crossProduct*crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(e… in calculateTriangleCoverage()
2158 …if (crossProduct < 0 || crossProduct*crossProduct < maxPixelDistanceSquared * tcu::lengthSquared(e… in calculateTriangleCoverage()
2226 const deInt64 crossProduct = (edge.x() * v.y() - edge.y() * v.x()); in calculateTriangleCoverage() local
2229 if (crossProduct < 0) in calculateTriangleCoverage()