Contents

getMovedRectsDelta(dx:dy:)

Return the movement delta values for a single update.

Declaration

func getMovedRectsDelta(dx: UnsafeMutablePointer<CGFloat>, dy: UnsafeMutablePointer<CGFloat>)

Parameters

  • dx:

    A pointer to a CGFloat to store the x component of the movement delta

  • dy:

    A pointer to a CGFloat to store the y component of the movement delta

Discussion

The delta values describe the offset from the moved rectangles back to the source location.

See Also

Functions