|
|
@@ -98,12 +98,10 @@ PUBLISHED:
|
|
|
// Controls the position of this sound's emitter.
|
|
|
// px, py and pz are the emitter's position.
|
|
|
// vx, vy and vz are the emitter's velocity in UNITS PER SECOND (default: meters).
|
|
|
- // You can pass 0.0 to either value for either function to ignore that value
|
|
|
- // if you only want to set/get one of them for some reason.
|
|
|
- virtual void set_3d_attributes(float px = 0.0f, float py = 0.0f, float pz = 0.0f,
|
|
|
- float vx = 0.0f, float vy = 0.0f, float vz = 0.0f) = 0;
|
|
|
- virtual void get_3d_attributes(float px = 0.0f, float py = 0.0f, float pz = 0.0f,
|
|
|
- float vx = 0.0f, float vy = 0.0f, float vz = 0.0f) = 0;
|
|
|
+ virtual void set_3d_attributes(float px, float py, float pz,
|
|
|
+ float vx, float vy, float vz);
|
|
|
+ virtual void get_3d_attributes(float *px, float *py, float *pz,
|
|
|
+ float *vx, float *vy, float *vz);
|
|
|
|
|
|
enum SoundStatus { BAD, READY, PLAYING };
|
|
|
virtual SoundStatus status() const = 0;
|