This commit is contained in:
m-schuetz 2021-01-18 14:33:30 +01:00
parent bb0d1e45c4
commit 529acb5c3b

View File

@ -74,32 +74,6 @@
// [589974.341, 231698.397, 986.146],
// [589851.587, 231428.213, 715.634],
// );
// { // spheres to indicate coordinate axes
// let sg = new THREE.SphereGeometry(0.1, 8, 8);
// { // RANDOM SPHERES
// for(let i = 0; i < 2000; i++){
// let color =
// ((Math.random() * 255) << 16) |
// ((Math.random() * 255) << 8) |
// ((Math.random() * 255) << 0);
// let sm = new THREE.MeshBasicMaterial({color: color});
// let sphere = new THREE.Mesh(sg, sm);
// sphere.position.set(
// pointcloud.position.x + 1000 * Math.random() - 500,
// pointcloud.position.y + 1000 * Math.random() - 500,
// pointcloud.position.z + 100);
// sphere.scale.set(20, 20, 20);
// viewer.scene.scene.add(sphere);
// sphere.frustumCulled = false;
// }
// }
// }
});
</script>