f3d-app / f3d

Fast and minimalist 3D viewer.
https://f3d.app
BSD 3-Clause "New" or "Revised" License
2.54k stars 182 forks source link

add camera zoom method #1458

Closed snoyer closed 1 week ago

snoyer commented 3 weeks ago

Add f3d::camera::zoom(factor) method by delegating to vtkCamera::Zoom(factor) to be able to "get closer" in both perspective and orthographic mode (where dolly is not applicable)

fixes #1429

github-actions[bot] commented 3 weeks ago

You are modifying libf3d public API! :warning:Please update bindings accordingly:warning:! You can find them in their respective directories: python, java, webassembly.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.68%. Comparing base (5a992b0) to head (c46c99c). Report is 21 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1458 +/- ## ========================================== + Coverage 96.58% 96.68% +0.09% ========================================== Files 103 105 +2 Lines 7707 7833 +126 ========================================== + Hits 7444 7573 +129 + Misses 263 260 -3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.