Variable fatRendererScissorCircleFsh_DiscardConst

fatRendererScissorCircleFsh_Discard: "\n // (x - center_x)^2 + (y - center_y)^2 < radius^2\n float xx = uScissor.x - vPosition.x;\n float yy = uScissor.y - vPosition.y;\n xx = floor(xx/2.0)*2.0; // reduce resolution (to cope with retina pixel art)\n yy = floor(yy/2.0)*2.0;\n if (uScissor.w > 0.0 && xx*xx + yy*yy > uScissor.z*uScissor.z ||\n uScissor.w < 0.0 && xx*xx + yy*yy < uScissor.z*uScissor.z)\n discard;\n" = ...

Generated using TypeDoc