amuse/lib/Emitter.cpp

46 lines
633 B
C++
Raw Normal View History

#include "amuse/Emitter.hpp"
2016-05-06 05:19:19 +00:00
#include "amuse/Voice.hpp"
2016-05-14 06:33:21 +00:00
#include "amuse/Engine.hpp"
namespace amuse
{
2016-05-14 22:38:37 +00:00
Emitter::~Emitter() {}
2016-05-14 06:33:21 +00:00
Emitter::Emitter(Engine& engine, const AudioGroup& group, std::shared_ptr<Voice>&& vox)
: Entity(engine, group, vox->getObjectId()), m_vox(std::move(vox))
{
}
2016-05-14 06:33:21 +00:00
void Emitter::_destroy()
{
Entity::_destroy();
m_vox->kill();
2016-05-14 06:33:21 +00:00
}
2016-05-09 07:22:58 +00:00
void Emitter::setPos(const Vector3f& pos)
{
}
void Emitter::setDir(const Vector3f& dir)
{
}
void Emitter::setMaxDist(float maxDist)
{
}
void Emitter::setMaxVol(float maxVol)
{
}
void Emitter::setMinVol(float minVol)
{
}
void Emitter::setFalloff(float falloff)
{
}
}