remove inaccurate comments, defunct code
This commit is contained in:
parent
b4e9a8a87a
commit
e9d867de1c
3 changed files with 2 additions and 11 deletions
|
|
@ -154,11 +154,7 @@ broker.subscribe('space_init', data => {
|
|||
let q = new THREE.Quaternion();
|
||||
// find intersecting point, look "up" on Z and rotate to face that
|
||||
q.setFromUnitVectors(int.face.normal, new THREE.Vector3(0,0,-1));
|
||||
group.qrotate(q);
|
||||
// let e = new THREE.Euler().setFromQuaternion(q);
|
||||
// let n = int.face.normal;
|
||||
// console.log({n,q,e});
|
||||
// group.rotation(e.x, e.y, e.z);
|
||||
group.qrotation(q);
|
||||
group.floor();
|
||||
} else {
|
||||
api.selection.toggle(model.group);
|
||||
|
|
|
|||
Loading…
Reference in a new issue