Click or drag to resize

SphericalCoordinateDistanceTo Method (SphericalCoordinate)

Calculates the distance from a point on a sphere to another point on a sphere.

Namespace:  Kit.Algorithms
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public float DistanceTo(
	SphericalCoordinate other
)
Request Example View Source

Parameters

other
Type: Kit.AlgorithmsSphericalCoordinate
The other point.

Return Value

Type: Single
Distance between this and the other point.
See Also