Added crude absolute positioning when rendering

This commit is contained in:
sippeangelo
2015-12-09 15:26:49 +01:00
parent 578018607a
commit 90a79c702f
8 changed files with 73 additions and 14 deletions
+2
View File
@@ -23,6 +23,8 @@ public:
ComponentWrapper GetComponent(EntityID entity, std::string componentType);
// Get all components of the specified type
const ComponentPool* GetComponents(std::string componentType);
// Get entity parent
EntityID GetParent(EntityID entity);
private:
EntityID m_CurrentEntityID = 1;
@@ -22,7 +22,6 @@ private:
void FillLights(World* world, RenderQueue* renderQueue);
glm::mat4 ModelMatrix(World* world, EntityID entity);
glm::vec3 GetAbsolutePosition(World* world, ComponentWrapper transformComponent);
};
#endif