Searched defs:poly2d (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | SpotShadow.cpp | 812 inline bool genPolyToCentroid(const Vector2* poly2d, int polyLength, argument 815 polyToCentroid[j] = poly2d[j] - centroid; 835 const Vector2* poly2d, int polyLength, const Vector2* polyToCentroid, 849 poly2d[previousPolyIndex], poly2d[(previousPolyIndex + 1) % polyLength]); 874 Vector2 poly2d[polyLength]; local 878 poly2d[i].x = poly[i].x; 879 poly2d[i].y = poly[i].y; 883 if (testPointInsidePolygon(centroid, poly2d, polyLength)) { 990 bool isPositiveCross = genPolyToCentroid(poly2d, polyLengt 834 getCloserVertex(const Vector2& umbraVertex, const Vector2& centroid, const Vector2* poly2d, int polyLength, const Vector2* polyToCentroid, bool isPositiveCross, int& previousPolyIndex) argument [all...] |
Completed in 2185 milliseconds