blob: e8ca730748414ef052288ca35e13c6786089857b [file] [log] [blame]
if (d >= 0.5)
d = fract(2.0 * d);
else
d = fract(3.0 * d);