diff --git a/public/index.html b/public/index.html index e47b34c6c0cfa06a7f394ef58d75a9330a7e85f7..3a71fa5d1ec79e71240bd51365e895150ccfbce5 100644 --- a/public/index.html +++ b/public/index.html @@ -454,6 +454,9 @@ return; } + // Holen Sie die aktuelle Y-Rotation des Modells (in Grad) + const currentRotation = Math.round(THREE.MathUtils.radToDeg(selectedPlacedModel.rotation.y)); + const dynamicMenu = document.getElementById("dynamic-menu"); dynamicMenu.style.display = "flex"; dynamicMenu.innerHTML = `