What's the formula for B3D Sphere mapping?

BlitzPlus Forums/BlitzPlus Programming/What's the formula for B3D Sphere mapping?

Topic moved to here.