Lines Matching refs:crossProduct
88 const float crossProduct = (u.x() * v.y() - u.y() * v.x()); in isTriangleClockwise() local
90 return crossProduct > 0.0f; in isTriangleClockwise()
116 const float crossProduct = (line.x() * v.y() - line.y() * v.x()); in pixelNearLineSegment() local
123 if (crossProduct * crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(line)) in pixelNearLineSegment()
179 const float crossProduct = (u.x() * v.y() - u.y() * v.x()); in triangleArea() local
181 return crossProduct / 2.0f; in triangleArea()
2404 const double crossProduct = (edge.x() * v.y() - edge.y() * v.x()); in calculateTriangleCoverage() local
2410 …if (crossProduct < 0 && crossProduct*crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(e… in calculateTriangleCoverage()
2412 …if (crossProduct < 0 || crossProduct*crossProduct < maxPixelDistanceSquared * tcu::lengthSquared(e… in calculateTriangleCoverage()
2482 const deInt64 crossProduct = (edge.x() * v.y() - edge.y() * v.x()); in calculateTriangleCoverage() local
2485 if (crossProduct < 0) in calculateTriangleCoverage()
2625 const deInt64 crossProduct = (edge.x() * v.y() - edge.y() * v.x()); in calculateUnderestimateTriangleCoverage() local
2628 if (crossProduct < 0) in calculateUnderestimateTriangleCoverage()