Scaling Gizmo (#72)

This PR adds the Scaling Gizmo to the StoryTeller Engine.

Features
- Objects can now be scaled by Axis or Plane

Limitations
- Currently there is no implementation for combining the scale gizmo
with any of the other gizmo. This should be amended with further PRs.

Let me know if there is anything that I missed!

---------

Co-authored-by: Danny McGee <dannymcgee@gmail.com>
This commit is contained in:
Brooks Palin
2024-03-05 16:16:01 -07:00
committed by GitHub
parent 970f5b25bd
commit 9aaf15287a
6 changed files with 374 additions and 5 deletions
@@ -92,7 +92,6 @@ export class TransformToolbarElement extends LitElement {
<sts-icon icon="scale">Scale</sts-icon>
<input type="checkbox"
name="scale"
disabled
?checked=${Boolean(this._type & TransformType.Scale)}
@input=${this.#onTypeChange}
/>