Searched defs:poly2d (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | SpotShadow.cpp | 778 inline bool genPolyToCentroid(const Vector2* poly2d, int polyLength, argument 781 polyToCentroid[j] = poly2d[j] - centroid; 801 const Vector2* poly2d, int polyLength, const Vector2* polyToCentroid, 815 poly2d[previousPolyIndex], poly2d[(previousPolyIndex + 1) % polyLength]); 840 Vector2 poly2d[polyLength]; local 844 poly2d[i].x = poly[i].x; 845 poly2d[i].y = poly[i].y; 849 if (testPointInsidePolygon(centroid, poly2d, polyLength)) { 960 bool isPositiveCross = genPolyToCentroid(poly2d, polyLengt 800 getCloserVertex(const Vector2& umbraVertex, const Vector2& centroid, const Vector2* poly2d, int polyLength, const Vector2* polyToCentroid, bool isPositiveCross, int& previousPolyIndex) argument [all...] |
Completed in 39 milliseconds