Removed physics for now.

This commit is contained in:
2023-11-12 23:29:52 -06:00
parent ba185e9fe4
commit dba5aa36c5
58 changed files with 101 additions and 1569 deletions

View File

@ -41,9 +41,8 @@ namespace Dawn {
void updateChildrenTransforms();
public:
std::weak_ptr<Scene> scene;
sceneitemid_t id;
// I have no idea if I'm keeping this
const std::weak_ptr<Scene> scene;
const sceneitemid_t id;
StateEvent<> eventTransformUpdated;
/**
@ -53,7 +52,7 @@ namespace Dawn {
* @param scene Weak pointer to the Scene that this SceneItem belongs to.
* @param id Scene Item ID that the Scene assigned this SceneItem.
*/
SceneItem(std::weak_ptr<Scene> scene, sceneitemid_t id);
SceneItem(const std::weak_ptr<Scene> scene, const sceneitemid_t id);
/**
* Called by the Scene the frame after we were constructed so we can begin