fwcd / mini-cad

Parametric 3D modeller with a Swift-inspired DSL for macOS and iOS (WWDC 2023 submission)
GNU General Public License v3.0
21 stars 3 forks source link

Zoom the stage view when scrolling #11

Open fwcd opened 1 year ago

fwcd commented 1 year ago

We should fix the camera control to zoom the view towards/away from the orbited point. See also this todo comment:

https://github.com/fwcd/mini-slice/blob/f2fb2482a4dc2d3f5f15d845a33a8aa435f46d2e/MiniSlice.swiftpm/Sources/View/StageView.swift#L9

fwcd commented 1 year ago

Note that Option+Scroll already does this.