We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad97d5e commit 6564b59Copy full SHA for 6564b59
src/main.ts
@@ -101,8 +101,9 @@ const oddMat = new THREE.MeshStandardMaterial({
101
102
// === Scene setup ===
103
async function init() {
104
- const tileSrc = (await loadGLB("/models/box.glb")).children[0] as THREE.Mesh;
105
- const tileGeometry = (tileSrc.geometry as THREE.BufferGeometry).clone();
+ // const tileSrc = (await loadGLB("/models/box.glb")).children[0] as THREE.Mesh;
+ // const tileGeometry = (tileSrc.geometry as THREE.BufferGeometry).clone();
106
+ const tileGeometry = new THREE.BoxGeometry(1, 1, 1);
107
tileGeometry.computeBoundingBox();
108
109
for (let x = 0; x < boardSize; x++) {
0 commit comments