Lines Matching refs:poly
238 void SpotShadow::sort(Vector2* poly, int polyLength, const Vector2& center) { in sort() argument
239 quicksortCirc(poly, 0, polyLength - 1, center); in sort()
285 const Vector2* poly, int len) { in testPointInsidePolygon() argument
290 float startX = poly[j].x; in testPointInsidePolygon()
291 float startY = poly[j].y; in testPointInsidePolygon()
292 float endX = poly[i].x; in testPointInsidePolygon()
293 float endY = poly[i].y; in testPointInsidePolygon()
391 float lightSize, const Vector3* poly, int polyLength, const Vector3& polyCentroid, in createSpotShadow() argument
422 poly[polyLength - 1]); in createSpotShadow()
430 lightCenter, poly[i]); in createSpotShadow()
575 dumpPolygon(poly, polyLength, "input poly"); in createSpotShadow()
592 finalPenumbraLength, finalUmbra, finalUmbraLength, poly, polyLength, in createSpotShadow()
852 const Vector3* poly, int polyLength, VertexBuffer& shadowTriangleStrip, in generateTriangleStrip() argument
859 poly2d[i].x = poly[i].x; in generateTriangleStrip()
860 poly2d[i].y = poly[i].y; in generateTriangleStrip()
1046 void SpotShadow::dumpPolygon(const Vector2* poly, int polyLength, const char* polyName) { in dumpPolygon() argument
1048 ALOGD("polygon %s i %d x %f y %f", polyName, i, poly[i].x, poly[i].y); in dumpPolygon()
1055 void SpotShadow::dumpPolygon(const Vector3* poly, int polyLength, const char* polyName) { in dumpPolygon() argument
1057 ALOGD("polygon %s i %d x %f y %f z %f", polyName, i, poly[i].x, poly[i].y, poly[i].z); in dumpPolygon()