Searched refs:polyCentroid (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/ |
D | SpotShadow.h | 31 const Vector3& polyCentroid, VertexBuffer& retstrips);
|
D | SpotShadow.cpp | 588 float lightSize, const Vector3* poly, int polyLength, const Vector3& polyCentroid, in createSpotShadow() argument 637 projectCasterToOutline(outlineCentroid, lightCenter, polyCentroid); in createSpotShadow() 804 bool convertPolyToRayDist(const Vector2* poly, int polyLength, const Vector2& polyCentroid, in convertPolyToRayDist() argument 810 float startAngle = angle(*lastVertex, polyCentroid); in convertPolyToRayDist() 826 float currentAngle = angle(poly[polyIndex], polyCentroid); in convertPolyToRayDist() 835 float distanceToIntersect = rayIntersectPoints(polyCentroid, in convertPolyToRayDist()
|