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

/frameworks/base/libs/hwui/
H A DSpotShadow.cpp24 // When the polygon is about 90 vertices, the penumbra + umbra can reach 270 rays.
583 // Since we are still shooting rays to penumbra, it needs to be convex.
603 * @param rays The total number of rays.
607 void SpotShadow::smoothPolygon(int level, int rays, float* rayDist) { argument
609 for (int i = 0; i < rays; i++) {
610 float p1 = rayDist[(rays - 1 + i) % rays];
612 float p3 = rayDist[(i + 1) % rays];

Completed in 95 milliseconds