to3d

fun Rotation2d.to3d(yaw: Double): Rotation3d

Extension function to convert a Rotation2d to a Rotation3d.

Receiver

Rotation2d The 2D rotation to convert.

Return

Rotation3d The resulting 3D rotation.

Parameters

yaw

Double The yaw value for the 3D rotation.