Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSpotShadow.cpp388 const Vector3& lightCenter, const Vector3& polyVertex) { in projectCasterToOutline() argument
389 float lightToPolyZ = lightCenter.z - polyVertex.z; in projectCasterToOutline()
394 ratioZ = MathUtils::clamp(polyVertex.z / lightToPolyZ, 0.0f, CASTER_Z_CAP_RATIO); in projectCasterToOutline()
397 outline.x = polyVertex.x - ratioZ * (lightCenter.x - polyVertex.x); in projectCasterToOutline()
398 outline.y = polyVertex.y - ratioZ * (lightCenter.y - polyVertex.y); in projectCasterToOutline()
DSpotShadow.h37 const Vector3& lightCenter, const Vector3& polyVertex);