Extension function to convert a Rotation2d to a Rotation3d.
Rotation2d The 2D rotation to convert.
Rotation3d The resulting 3D rotation.
Double The yaw value for the 3D rotation.