Home
last modified time | relevance | path

Searched refs:crossProduct (Results 1 - 2 of 2) sorted by relevance

/third_party/vk-gl-cts/framework/referencerenderer/
H A DrrRasterizer.cpp154 const deInt64 crossProduct = (u.x() * v.y() - u.y() * v.x()); in vertexOnLeftSideOfLine() local
155 return crossProduct < 0; in vertexOnLeftSideOfLine()
163 const deInt64 crossProduct = (u.x() * v.y() - u.y() * v.x()); in vertexOnRightSideOfLine() local
164 return crossProduct > 0; in vertexOnRightSideOfLine()
172 const deInt64 crossProduct = (u.x() * v.y() - u.y() * v.x()); in vertexOnLine() local
173 return crossProduct == 0; // cross product == 0 in vertexOnLine()
246 const deInt64 crossProduct = (u.x() * v.y() - u.y() * v.x()); in doesLineSegmentExitDiamond() local
248 // crossProduct = |p| |l| sin(theta) in doesLineSegmentExitDiamond()
250 // => distanceFromLine = crossProduct / |l| in doesLineSegmentExitDiamond()
254 // => crossProduct in doesLineSegmentExitDiamond()
[all...]
/third_party/vk-gl-cts/framework/common/
H A DtcuRasterizationVerifier.cpp88 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()
2434 const double crossProduct = (edge.x() * v.y() - edge.y() * v.x());
2440 if (crossProduct < 0 && crossProduct*crossProduc
[all...]

Completed in 5 milliseconds