4 #include <glm/vec3.hpp> 12 const glm::vec3 &
velocity = glm::vec3(0.0f),
float pitch = 1.0f,
17 auto id()
const ->
unsigned int;
41 static std::atomic_uint current_id_;
glm::vec3 velocity
Velocity.
Definition: source.hpp:23
bool playing
The source is playing.
Definition: source.hpp:35
bool loop
The source is looping.
Definition: source.hpp:32
glm::vec3 position
Position.
Definition: source.hpp:20
Base class for the audio source.
Definition: source.hpp:9
float gain
Volume.
Definition: source.hpp:29
auto id() const -> unsigned int
Unique id.
float obstructed
How much the source is obstructed.
Definition: source.hpp:38
float pitch
Pitch.
Definition: source.hpp:26
Definition: filter.hpp:13