split requires translation
This commit is contained in:
parent
e009cf5af9
commit
e82501d790
1 changed files with 1 additions and 2 deletions
|
|
@ -86,8 +86,7 @@ let model = {
|
|||
let { id, matrix, z } = data;
|
||||
let o1 = [];
|
||||
let o2 = [];
|
||||
// let pos = translate_encode(id, matrix);
|
||||
let pos = cache[id].geo.attributes.position.array;
|
||||
let pos = translate_encode(id, matrix);
|
||||
for (let i=0, l=pos.length; i<l; ) {
|
||||
let v1 = new Vector3(pos[i++], pos[i++], pos[i++]);
|
||||
let v2 = new Vector3(pos[i++], pos[i++], pos[i++]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue