toAxis

fun toAxis(yaw: Float): Axis

Gets the closest Axis to yaw.


fun toAxis(yaw: Float, pitch: Float): Axis

Gets the closest Axis to yaw and pitch.