Lines Matching defs:testPoint
280 * @param testPoint the point to test
282 * @return true if the testPoint is inside the poly.
284 bool SpotShadow::testPointInsidePolygon(const Vector2 testPoint,
287 float testx = testPoint.x;
288 float testy = testPoint.y;
1111 Vector2 testPoint;
1112 testPoint.x = lowerBound.x + randomX * (upperBound.x - lowerBound.x);
1113 testPoint.y = lowerBound.y + randomY * (upperBound.y - lowerBound.y);
1116 if (testPointInsidePolygon(testPoint, intersection, intersectionLength)) {
1117 if (!testPointInsidePolygon(testPoint, poly1, poly1Length)) {
1121 testPoint.x, testPoint.y);
1124 if (!testPointInsidePolygon(testPoint, poly2, poly2Length)) {
1128 testPoint.x, testPoint.y);