local o=math.pi*2 return function(Z)if Z<0 then Z=Z+(math.floor(-Z/o)+1)*o end return Z%o end


local u1 = math.pi * 2;
return function(p1)
	if p1 < 0 then
		p1 = p1 + (math.floor(-p1 / u1) + 1) * u1;
	end;
	return p1 % u1;
end;
