Skip to content
This repository was archived by the owner on Jan 24, 2020. It is now read-only.

Commit 6fbb59a

Browse files
author
Avaer Kazmer
committed
Mining mesh visible debugging
1 parent 51ee84e commit 6fbb59a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5400,6 +5400,10 @@
54005400
baseMesh.material.uniforms.uAnimation.value = menuFactor;
54015401
baseMesh.visible = true;
54025402
}
5403+
const opening = start.factor < end.factor;
5404+
for (let i = 0; i < sceneMeshes.length; i++) {
5405+
sceneMeshes[i].visible = opening;
5406+
}
54035407

54045408
if (f >= 1) {
54055409
if (end.factor === 0) {

0 commit comments

Comments
 (0)