Home
last modified time | relevance | path

Searched refs:lightPoly (Results 1 – 1 of 1) sorted by relevance

/frameworks/layoutlib/bridge/src/android/view/shadow/
DSpotShadowVertexCalculator.java79 float[] lightPoly, in calculateShadow() argument
96 float t = lightPoly[j * 3 + 2] - poly[i * 3 + 2]; in calculateShadow()
100 t = lightPoly[j * 3 + 2] / t; in calculateShadow()
101 float x = lightPoly[j * 3] - t * (lightPoly[j * 3] - poly[i * 3]); in calculateShadow()
102 float y = lightPoly[j * 3 + 1] - t * (lightPoly[j * 3 + 1] - poly[i * 3 + 1]); in calculateShadow()
132 Math3DHelper.centroid3d(lightPoly, lightPolyLength, p); in calculateShadow()