mirror of
https://github.com/kou029w/pucchinglgl.git
synced 2025-01-18 08:15:02 +00:00
parent
87e6bd8670
commit
290d3dda6c
1 changed files with 0 additions and 5 deletions
|
@ -36,10 +36,6 @@ function render() {
|
|||
renderer.render(scene, camera);
|
||||
}
|
||||
|
||||
function vibrate() {
|
||||
if ("vibrate" in navigator) navigator.vibrate(100);
|
||||
}
|
||||
|
||||
function tone(osc: Oscillator) {
|
||||
osc.start();
|
||||
osc.stop("+0.05");
|
||||
|
@ -50,7 +46,6 @@ function drawRect() {
|
|||
const [intersect] = raycaster.intersectObjects(panels);
|
||||
if (!intersect) return;
|
||||
|
||||
vibrate();
|
||||
try {
|
||||
// FIXME: Error: Start time must be strictly greater than previous start time.
|
||||
tone(intersect.object.userData.osc);
|
||||
|
|
Loading…
Add table
Reference in a new issue