3DBAG / 3dbag-viewer

https://3dbag.nl
GNU General Public License v3.0
35 stars 10 forks source link

North arrow animation (disable when already looking north) #65

Closed jliempt closed 2 years ago

jliempt commented 3 years ago

Currently, the camera rotates for a fixed amount of time when you click the arrow, regardless of the initial orientation.

The animation should at least be disabled when it's already oriented to the north, since if you then click it you won't see anything happening, but the animation will still mess with the controls during that period.

liberostelios commented 3 years ago

Why not make the rotation duration relative to the angle to the north, when clicking the button? It makes more sense to me and fixes this issue.

jliempt commented 3 years ago

Yes, that would be optimal. 👍