Skip to content

Commit 6564b59

Browse files
committed
perf_test
1 parent ad97d5e commit 6564b59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,9 @@ const oddMat = new THREE.MeshStandardMaterial({
101101

102102
// === Scene setup ===
103103
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();
104+
// const tileSrc = (await loadGLB("/models/box.glb")).children[0] as THREE.Mesh;
105+
// const tileGeometry = (tileSrc.geometry as THREE.BufferGeometry).clone();
106+
const tileGeometry = new THREE.BoxGeometry(1, 1, 1);
106107
tileGeometry.computeBoundingBox();
107108

108109
for (let x = 0; x < boardSize; x++) {

0 commit comments

Comments
 (0)