Package-level declarations

Functions

Link copied to clipboard

Takes the longest animation in the set (including delay an duration) and scales the duration down to match the duration constraint if it's exceeded. All other animations are scaled by the same factor which allows to mostly keep the same composition and "feel" of the animation set while shortening its duration.

Link copied to clipboard
fun normalizeBearing(currentBearing: Double, targetBearing: Double): Double

Returns a bearing change using the shortest path.