Audio API first pass
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
#include "dawnlibs.hpp"
|
||||
#include "assert/assert.hpp"
|
||||
#include "util/flag.hpp"
|
||||
#include "event/Event.hpp"
|
||||
|
||||
namespace Dawn {
|
||||
class SceneItem;
|
||||
@ -38,6 +39,8 @@ namespace Dawn {
|
||||
void updateChildrenTransforms();
|
||||
|
||||
public:
|
||||
// I have no idea if I'm keeping this
|
||||
Event<> eventTransformUpdated;
|
||||
SceneItem *item;
|
||||
|
||||
/**
|
||||
@ -123,6 +126,13 @@ namespace Dawn {
|
||||
*/
|
||||
void setLocalTransform(glm::mat4 transform);
|
||||
|
||||
/**
|
||||
* Returns the position of the origin of this transform in world-space.
|
||||
*
|
||||
* @return Transform origin in world-space.
|
||||
*/
|
||||
glm::vec3 getWorldPosition();
|
||||
|
||||
/**
|
||||
* Returns the transformation matrix for this transform, in world-space.
|
||||
* @return The transform origin in world-space.
|
||||
|
Reference in New Issue
Block a user