tileatlas uv coords calc generalized