Basic transform stuff

This commit is contained in:
2022-10-21 22:01:37 -07:00
parent 043873cc2d
commit be529b70c1
18 changed files with 363 additions and 38 deletions

View File

@ -5,6 +5,7 @@
#pragma once
#include "SceneItemComponent.hpp"
#include "display/Transform.hpp"
namespace Dawn {
typedef int32_t sceneitemid_t;
@ -18,7 +19,7 @@ namespace Dawn {
public:
Scene &scene;
sceneitemid_t id;
glm::mat4 transform;
Transform transform;
/**
* Constructor for a SceneItem. Scene Items should only be called and