Rotate 2D shapes in 3D