track widget indexing to timeline selection

This commit is contained in:
Stewart Allen 2022-10-31 12:14:28 -04:00
commit b5f756acf6
7 changed files with 51 additions and 15 deletions

View file

@ -552,6 +552,10 @@ class Widget {
this.setModified();
}
setAxisIndex(deg) {
this.mesh.rotation.x = deg * (Math.PI / 180);
}
rotate(x, y, z, temp) {
this.group.forEach(w => {
w._rotate(x, y, z, temp);