Add initial project setup with pnpm and configure .gitignore

- Created .gitignore to exclude node_modules, build outputs, environment files, logs, and editor-specific files.
- Added pnpm-lock.yaml to manage project dependencies.
- Introduced pnpm-workspace.yaml to allow builds with esbuild.
- Updated script.js to set mesh position using a single method call, cleaning up commented-out code.
This commit is contained in:
sayudhalw
2026-08-23 12:45:14 +07:00
parent 4cbc25dcae
commit 2cc2c69bee
4 changed files with 767 additions and 0 deletions
+4
View File
@@ -12,6 +12,10 @@ const scene = new THREE.Scene()
const geometry = new THREE.BoxGeometry(1, 1, 1)
const material = new THREE.MeshBasicMaterial({ color: 0xff0000 })
const mesh = new THREE.Mesh(geometry, material)
// mesh.position.x = 0.7
// mesh.position.y = -0.6
// mesh.position.z = 1
mesh.position.set(0.7, -0.6, 1);
scene.add(mesh)
/**