Searched defs:rayDist (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/
H A DSpotShadow.cpp606 * @param rayDist (In and Out) The distance for each ray.
609 void SpotShadow::smoothPolygon(int level, int rays, float* rayDist) { argument
612 float p1 = rayDist[(rays - 1 + i) % rays];
613 float p2 = rayDist[i];
614 float p3 = rayDist[(i + 1) % rays];
615 rayDist[i] = (p1 + p2 * 2 + p3) / 4;

Completed in 61 milliseconds