Lines Matching refs:poly

234 void SpotShadow::sort(Vector2* poly, int polyLength, const Vector2& center) {  in sort()  argument
235 quicksortCirc(poly, 0, polyLength - 1, center); in sort()
279 bool SpotShadow::testPointInsidePolygon(const Vector2 testPoint, const Vector2* poly, int len) { in testPointInsidePolygon() argument
284 float startX = poly[j].x; in testPointInsidePolygon()
285 float startY = poly[j].y; in testPointInsidePolygon()
286 float endX = poly[i].x; in testPointInsidePolygon()
287 float endY = poly[i].y; in testPointInsidePolygon()
369 const Vector3* poly, int polyLength, const Vector3& polyCentroid, in createSpotShadow() argument
399 projectCasterToOutline(outlineData[polyLength - 1].position, lightCenter, poly[polyLength - 1]); in createSpotShadow()
406 float ratioZ = projectCasterToOutline(outlineData[i].position, lightCenter, poly[i]); in createSpotShadow()
549 dumpPolygon(poly, polyLength, "input poly"); in createSpotShadow()
566 finalUmbra, finalUmbraLength, poly, polyLength, shadowTriangleStrip, in createSpotShadow()
828 int umbraLength, const Vector3* poly, int polyLength, in generateTriangleStrip() argument
835 poly2d[i].x = poly[i].x; in generateTriangleStrip()
836 poly2d[i].y = poly[i].y; in generateTriangleStrip()
1020 void SpotShadow::dumpPolygon(const Vector2* poly, int polyLength, const char* polyName) { in dumpPolygon() argument
1022 ALOGD("polygon %s i %d x %f y %f", polyName, i, poly[i].x, poly[i].y); in dumpPolygon()
1029 void SpotShadow::dumpPolygon(const Vector3* poly, int polyLength, const char* polyName) { in dumpPolygon() argument
1031 ALOGD("polygon %s i %d x %f y %f z %f", polyName, i, poly[i].x, poly[i].y, poly[i].z); in dumpPolygon()