struct ContentView: View {
   @State private var orientation: Chart3DPose = .default
   
   var body: some View {
      VStack {
         Chart3D {
            SurfacePlot(x: "x", y: "y", z: "z", function: { x, y in
               sin(x) * cos(y)
            })
         }
         .chart3DPose($orientation)
         .frame(height: 300)
         .padding()
         Spacer()
      }
   }
}