Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSpotShadow.cpp837 Vector2 umbraToCentroid = umbraVertex - centroid; in getCloserVertex() local
838 float distanceToUmbra = umbraToCentroid.length(); in getCloserVertex()
839 umbraToCentroid = umbraToCentroid / distanceToUmbra; in getCloserVertex()
844 umbraToCentroid, polyToCentroid, polyLength); in getCloserVertex()
846 float dx = umbraToCentroid.x; in getCloserVertex()
847 float dy = umbraToCentroid.y; in getCloserVertex()