Investigate whether we can make the preview scene interactive
- Dominant language
- Swift
- Stars
- 34
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
This could get pretty tricky after we have #3 and #5, since we'd need to track the 'origin' of each triangle throughout the CSG transformations (#22 would probably come in handy too).
But it would still be very cool if the user could e.g. drag/scale/rotate the objects in real-time in the preview as the code updates automatically (and perhaps snap it to the grid (optionally?)).
Note that this might also require inverting the entire tranformation stack. E.g. if the cube dragged by the user is inside a
```
Translate(...) {
Rotate(...) {
...
}
}
```
we'd have to compute how the original position/scales would have to be modified.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.