translate point into mesh geometry space

This commit is contained in:
Stewart Allen 2022-01-13 00:45:20 -05:00
commit 2a64dee448
2 changed files with 21 additions and 7 deletions

View file

@ -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;