Moving projection to viewport

This commit is contained in:
Dynamitos
2022-11-30 10:19:45 +01:00
parent 1e04da963d
commit 3c7346cf7b
18 changed files with 87 additions and 86 deletions
+2 -2
View File
@@ -13,9 +13,9 @@ public:
virtual ~Entity();
template<typename Component, typename... Args>
void attachComponent(Args... args)
Component& attachComponent(Args... args)
{
scene->attachComponent<Component>(identifier, args...);
return scene->attachComponent<Component>(identifier, args...);
}
protected:
PScene scene;