mirror of
https://github.com/kou029w/pucchinglgl.git
synced 2025-01-18 16:18:00 +00:00
fix: 例外が投げられて描画されない環境が存在するので対処
This commit is contained in:
parent
d3b462fa53
commit
57e9adf317
1 changed files with 5 additions and 1 deletions
|
@ -40,7 +40,11 @@ function drawRect() {
|
|||
const [intersect] = raycaster.intersectObjects(panels);
|
||||
if (!intersect) return;
|
||||
|
||||
try {
|
||||
// FIXME: Error: Start time must be strictly greater than previous start time.
|
||||
synth.triggerAttackRelease("C4", "16n");
|
||||
} catch {}
|
||||
|
||||
const color = pallet[randomInt(pallet.length - 1)];
|
||||
const geometry = new PlaneGeometry(1, 1);
|
||||
const material = new MeshBasicMaterial({ color });
|
||||
|
|
Loading…
Add table
Reference in a new issue