Searched refs:polyVertex (Results 1 – 2 of 2) sorted by relevance
388 const Vector3& lightCenter, const Vector3& polyVertex) { in projectCasterToOutline() argument389 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()
37 const Vector3& lightCenter, const Vector3& polyVertex);