Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Listener velocity #6797

Merged
merged 2 commits into from
Jul 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions src/platform/sound/listener.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Debug } from '../../core/debug.js';
import { Mat4 } from '../../core/math/mat4.js';
import { Vec3 } from '../../core/math/vec3.js';

Expand All @@ -22,12 +21,6 @@ class Listener {
*/
position = new Vec3();

/**
* @type {Vec3}
* @private
*/
velocity = new Vec3();

/**
* @type {Mat4}
* @private
Expand Down Expand Up @@ -71,27 +64,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.
*
Expand Down