zalo / CascadeStudio

A Full Live-Scripted CAD Kernel in the Browser
https://zalo.github.io/CascadeStudio/
MIT License
1.01k stars 126 forks source link

[WIP] Add View Cube #27

Closed zalo closed 3 years ago

zalo commented 3 years ago

This PR begins adding a View Cube at the request of #26.

After this quick and dirty implementation, I'm not totally convinced the additional complexity and state are worth it. The camera movement functionality isn't necessary in a SCAD app, given the drawing occurs entirely from the code-editor and not the graphical editor.

I may downgrade this to a simple orthonormal basis (to provide a quick reference for which direction is which).

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/zalo/cascade-studio/3a51hh4oo
✅ Preview: https://cascade-studio-git-feat-view-cube.zalo.vercel.app

zalo commented 3 years ago

Going to close this one for now; maybe someday this functionality will come back as keyboard shortcuts.