Lines Matching refs:outlineData
426 OutlineData outlineData[polyLength]; in createSpotShadow() local
444 projectCasterToOutline(outlineData[polyLength - 1].position, lightCenter, in createSpotShadow()
452 float ratioZ = projectCasterToOutline(outlineData[i].position, in createSpotShadow()
454 outlineData[i].radius = ratioZ * lightSize; in createSpotShadow()
456 outlineData[currentNormalIndex].normal = ShadowTessellator::calculateNormal( in createSpotShadow()
457 outlineData[currentNormalIndex].position, in createSpotShadow()
458 outlineData[nextNormalIndex].position); in createSpotShadow()
506 const Vector2& previousNormal = outlineData[preNormalIndex].normal; in createSpotShadow()
507 const Vector2& currentNormal = outlineData[i].normal; in createSpotShadow()
530 penumbra[penumbraIndex++] = outlineData[i].position + in createSpotShadow()
531 avgNormal * outlineData[i].radius; in createSpotShadow()
561 float distOutline = (outlineData[i].position - outlineCentroid).length(); in createSpotShadow()
568 float ratioVI = outlineData[i].radius / distOutline; in createSpotShadow()
577 umbra[i] = outlineData[i].position * ratioIC + outlineCentroid * ratioVI; in createSpotShadow()
587 umbra[i] = outlineData[i].position * FAKE_UMBRA_SIZE_RATIO + in createSpotShadow()