feat: add box selection

This commit is contained in:
2024-03-13 20:04:34 +01:00
parent f312f885c7
commit 6bac76adbe
2 changed files with 26 additions and 16 deletions

View File

@@ -20,20 +20,11 @@
></div>
</HTML>
<!-- <T.Mesh -->
<!-- position.x={x - width / 2} -->
<!-- position.z={y - height / 2} -->
<!-- rotation.x={-Math.PI / 2} -->
<!-- > -->
<!-- <T.PlaneGeometry args={[width, height]} /> -->
<!-- <T.MeshBasicMaterial color="red" /> -->
<!-- </T.Mesh> -->
<style>
.selection {
width: 40px;
height: 20px;
border: solid 0.2px red;
border: solid 0.2px white;
border-style: dashed;
border-radius: 2px;
}