translate point into mesh geometry space
This commit is contained in:
parent
fdb337df28
commit
2a64dee448
2 changed files with 21 additions and 7 deletions
|
|
@ -260,6 +260,7 @@ function space_init(data) {
|
|||
if (shiftKey && metaKey) {
|
||||
// find faces adjacent to point/line clicked
|
||||
model.select(int.point, int.face);
|
||||
// console.log(int);
|
||||
} else if (metaKey) {
|
||||
// set focus on intersected face
|
||||
let { x, y, z } = int.point;
|
||||
|
|
|
|||
Loading…
Reference in a new issue