Home | History | Annotate | Download | only in effects

Lines Matching refs:circle

14 // The circle uniform is (center.x, center.y, radius + 0.5, 1 / (radius + 0.5)) for regular
16 uniform half4 circle;
42 pdman.set4f(circle, center.fX, center.fY, effectiveRadius,
50 // TODO: Right now the distance to circle caclulation is performed in a space normalized to the
56 d = (length((circle.xy - sk_FragCoord.xy) * circle.w) - 1.0) * circle.z;
58 d = (1.0 - length((circle.xy - sk_FragCoord.xy) * circle.w)) * circle.z;