Lines Matching refs: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;
1107 Vector2 testPoint;
1108 testPoint.x = lowerBound.x + randomX * (upperBound.x - lowerBound.x);
1109 testPoint.y = lowerBound.y + randomY * (upperBound.y - lowerBound.y);
1112 if (testPointInsidePolygon(testPoint, intersection, intersectionLength)) {
1113 if (!testPointInsidePolygon(testPoint, poly1, poly1Length)) {
1117 testPoint.x, testPoint.y);
1120 if (!testPointInsidePolygon(testPoint, poly2, poly2Length)) {
1124 testPoint.x, testPoint.y);