change how indexing is tracked and updated
This commit is contained in:
parent
d1847707ba
commit
8e6ffdb259
3 changed files with 39 additions and 30 deletions
|
|
@ -47,10 +47,9 @@ class Slice {
|
|||
let layers = this.layers = new kiri.Layers();
|
||||
if (tracked) {
|
||||
let { track } = tracked;
|
||||
let { indexed, indexRad, delta, tzoff } = track;
|
||||
let { indexed, indexRad } = track;
|
||||
if (indexed) {
|
||||
layers.setRotation(indexRad);
|
||||
// layers.setPosition(0, -delta.y, delta.z + tzoff);
|
||||
}
|
||||
}
|
||||
return layers;
|
||||
|
|
|
|||
Loading…
Reference in a new issue