Companion

object Companion

Companion object providing utilities for rotation operations.

Types

Link copied to clipboard

Defines the arc path for Spherical Linear Interpolation (Slerp).

Functions

Link copied to clipboard
@JvmStatic
fun identity(): Rotation

Gets the identity rotation, which represents no rotation.

Link copied to clipboard
@JvmStatic
fun slerp(from: Rotation, to: Rotation, t: Float, path: Rotation.Companion.SlerpPath = SlerpPath.SHORTEST): Rotation

Performs Spherical Linear Interpolation (Slerp) between two rotations.