rotation

fun rotation(yaw: Float, pitch: Float): Rotation

Creates a Rotation instance with the given yaw and pitch.

This is an internal factory method used by DevCore implementations.

Return

a new Rotation instance

Parameters

yaw

the yaw angle in degrees

pitch

the pitch angle in degrees