Contents

distance(to:)

Returns the distance to another joint.

Declaration

func distance(to joint: Joint) -> CGFloat

Parameters

  • joint:

    The joint for which to calculate the distance.

Return Value

The calculated distance.