testing rotation / offset compensation
This commit is contained in:
parent
f588e2e5cf
commit
8c3997d16d
2 changed files with 8 additions and 3 deletions
|
|
@ -47,9 +47,10 @@ class Slice {
|
|||
let layers = this.layers = new kiri.Layers();
|
||||
if (tracked) {
|
||||
let { track } = tracked;
|
||||
let { indexed, indexRad, delta } = track;
|
||||
let { indexed, indexRad, delta, tzoff } = track;
|
||||
if (indexed) {
|
||||
layers.setRotation(indexRad);
|
||||
// layers.setPosition(0, -delta.y, delta.z + tzoff);
|
||||
}
|
||||
}
|
||||
return layers;
|
||||
|
|
|
|||
Loading…
Reference in a new issue