Searched refs:poly1Length (Results 1 – 2 of 2) sorted by relevance
235 int SpotShadow::intersection(const Vector2* poly1, int poly1Length, in intersection() argument238 if (!ShadowTessellator::isClockwise(poly1, poly1Length)) { in intersection()245 Vector2 poly[poly1Length * poly2Length + 2]; in intersection()251 for (int i = 0; i < poly1Length; i++) { in intersection()262 if (testPointInsidePolygon(poly2[i], poly1, poly1Length)) { in intersection()270 if (insidePoly2 == poly1Length) { in intersection()271 memcpy(poly2, poly1, poly1Length * sizeof(Vector2)); in intersection()272 return poly1Length; in intersection()284 for (int j = 0; j < poly1Length; j++) { in intersection()288 int poly1LineEnd = ((j + 1) % poly1Length); in intersection()[all …]
105 static void testIntersection(const Vector2* poly1, int poly1Length,