18 lines
424 B
C++
18 lines
424 B
C++
#ifndef Transform_h__
|
|
#define Transform_h__
|
|
|
|
#include "../GLM.h"
|
|
#include "World.h"
|
|
|
|
namespace Transform
|
|
{
|
|
|
|
glm::vec3 AbsolutePosition(World* world, EntityID entity);
|
|
glm::quat AbsoluteOrientation(World* world, EntityID entity);
|
|
glm::vec3 AbsoluteScale(World* world, EntityID entity);
|
|
glm::mat4 ModelMatrix(EntityID entity, World* world);
|
|
glm::vec3 TransformPoint(const glm::vec3& point, const glm::mat4& matrix);
|
|
|
|
}
|
|
|
|
#endif |