start working with distance measurements

This commit is contained in:
Yeicor
2024-02-28 21:25:52 +01:00
parent 184b3a10fc
commit 0431a56d1a
3 changed files with 127 additions and 8 deletions

View File

@@ -87,6 +87,7 @@ function removeLine3D(id: number) {
scene.value.removeHotspot(new Hotspot({name: 'line' + id + '_end'}));
lines.value[id].endHotspot.parentElement.remove()
delete lines.value[id];
lines.value = {...lines.value}; // TODO: Trigger reactivity not working...
}
function onCameraChange() {