Home
last modified time | relevance | path

Searched refs:crossProduct (Results 1 – 4 of 4) sorted by relevance

/external/deqp/framework/referencerenderer/
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
261 …const bool crossProductOverflows = (crossProduct > floorSqrtMaxInt64 || crossProduct < -floorSqr… in doesLineSegmentExitDiamond()
262 …Int64 crossProductSquared = (crossProductOverflows) ? (0) : (crossProduct * crossProduct); // av… in doesLineSegmentExitDiamond()
/external/deqp/framework/common/
DtcuRasterizationVerifier.cpp84 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()
2158 const deInt64 crossProduct = (edge.x() * v.y() - edge.y() * v.x()); in calculateTriangleCoverage() local
2164 …if (crossProduct < 0 && crossProduct*crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(e… in calculateTriangleCoverage()
2166 …if (crossProduct < 0 || crossProduct*crossProduct < maxPixelDistanceSquared * tcu::lengthSquared(e… in calculateTriangleCoverage()
2234 const deInt64 crossProduct = (edge.x() * v.y() - edge.y() * v.x()); in calculateTriangleCoverage() local
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DVector3D.java349 Vector3D v3 = crossProduct(v1, v2); in angle()
460 public static Vector3D crossProduct(Vector3D v1, Vector3D v2) { in crossProduct() method in Vector3D
DRotation.java372 Vector3D u3 = Vector3D.crossProduct(u1, u2); in Rotation()
373 Vector3D v3 = Vector3D.crossProduct(v1, v2); in Rotation()