You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var p = new THREE.Vector3(x, y, z);
p = p.applyMatrix4(viewer.model.matrixWorld);
var vector = p.project(camera);
var x = (vector.x + 1) / 2 * viewer.dom_element.offsetWidth;
var y = -(vector.y - 1) / 2 * viewer.dom_element.offsetHeight;
I use viewer.pick(x, y) get vertex_data in SurfaceView, when i have vertex_data, then SurfaceView zoom, How can i get x, y?
The text was updated successfully, but these errors were encountered: