sgenoud / replicad

The library to build browser based 3D models with code.
https://replicad.xyz
MIT License
323 stars 38 forks source link

rotating the view is messed up after clicking an axis #96

Open tve opened 10 months ago

tve commented 10 months ago

When I first see a 3D view I can control the rotation fairly intuitively. But if I click on an axis (e.g. click on the red "X" in the lower right hand corner) the rotation is pretty messed-up. To take the example of the "X", I cannot rotate the view back to the default one.

It's also rather annoying that when I click on "X" then Y points up instead of Z, and if I click on "Y" Z points down. That may be mathematically "normal" but we're looking at a 3D model placed on the XY plane here...

sgenoud commented 5 months ago

I think I have (finally) found and squashed this bug. Can you check it is also good on your side?