Refactor Audio API and remove source-positioning related code
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
package com.bartlomiejpluta.base.api.audio;
|
||||
|
||||
import org.joml.Vector3fc;
|
||||
|
||||
public interface Listener {
|
||||
|
||||
void setPosition(Vector3fc position);
|
||||
|
||||
void setSpeed(Vector3fc speed);
|
||||
|
||||
void setOrientation(Vector3fc at, Vector3fc up);
|
||||
}
|
||||
@@ -1,7 +1,5 @@
|
||||
package com.bartlomiejpluta.base.api.audio;
|
||||
|
||||
import org.joml.Vector3fc;
|
||||
|
||||
public interface Sound {
|
||||
void play();
|
||||
|
||||
@@ -14,10 +12,4 @@ public interface Sound {
|
||||
void setGain(float gain);
|
||||
|
||||
void setRepeat(boolean repeat);
|
||||
|
||||
void setRelative(boolean relative);
|
||||
|
||||
void setPosition(Vector3fc position);
|
||||
|
||||
void setSpeed(Vector3fc speed);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user