fCraft.FloatingIslandMapGenState.Sphere.DistanceTo C# (CSharp) Method

DistanceTo() public method

public DistanceTo ( Sphere other ) : float
other Sphere
return float
            public float DistanceTo( Sphere other ) {
                return (other.Origin - Origin).Length - (Radius + other.Radius);
            }

Same methods

FloatingIslandMapGenState.Sphere::DistanceTo ( Vector3I other ) : float
FloatingIslandMapGenState.Sphere