From 380f848bf893860064cc26d89dfbafecf486f72f Mon Sep 17 00:00:00 2001 From: Will Eastcott Date: Tue, 9 Jul 2024 15:41:29 +0100 Subject: [PATCH 1/2] Remove Listener velocity --- src/platform/sound/listener.js | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/src/platform/sound/listener.js b/src/platform/sound/listener.js index 641111fc70d..25ef9062115 100644 --- a/src/platform/sound/listener.js +++ b/src/platform/sound/listener.js @@ -22,12 +22,6 @@ class Listener { */ position = new Vec3(); - /** - * @type {Vec3} - * @private - */ - velocity = new Vec3(); - /** * @type {Mat4} * @private @@ -71,27 +65,6 @@ class Listener { } } - /** - * Get the velocity of the listener. - * - * @returns {Vec3} The velocity of the listener. - * @deprecated - */ - getVelocity() { - Debug.warn('Listener#getVelocity is not implemented.'); - return this.velocity; - } - - /** - * Set the velocity of the listener. - * - * @param {Vec3} velocity - The new velocity of the listener. - * @deprecated - */ - setVelocity(velocity) { - Debug.warn('Listener#setVelocity is not implemented.'); - } - /** * Set the orientation matrix of the listener. * From 4deafed068e9f151956c1d73f2106b0705e2d6ea Mon Sep 17 00:00:00 2001 From: Will Eastcott Date: Tue, 9 Jul 2024 15:47:11 +0100 Subject: [PATCH 2/2] Remove unused import --- src/platform/sound/listener.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/platform/sound/listener.js b/src/platform/sound/listener.js index 25ef9062115..2bd455ce5b9 100644 --- a/src/platform/sound/listener.js +++ b/src/platform/sound/listener.js @@ -1,4 +1,3 @@ -import { Debug } from '../../core/debug.js'; import { Mat4 } from '../../core/math/mat4.js'; import { Vec3 } from '../../core/math/vec3.js';