|
@@ -407,7 +407,7 @@ Utils.getMousePointCloudIntersection = function(viewport, mouse, pointer, camera
|
|
pointcloud: selectedPointcloud,
|
|
pointcloud: selectedPointcloud,
|
|
point: closestPoint,
|
|
point: closestPoint,
|
|
pointclouds: allPointclouds, //add
|
|
pointclouds: allPointclouds, //add
|
|
- normal: new THREE.Vector3().fromArray(closestPoint.normal )//add
|
|
|
|
|
|
+ normal:new THREE.Vector3().fromArray(closestPoint.normal ).applyMatrix4(selectedPointcloud.rotateMatrix)//add
|
|
};
|
|
};
|
|
} else {
|
|
} else {
|
|
return null;
|
|
return null;
|