remove old transform and velocity components and replace with new decomposed components

focus on 2D for now
This commit is contained in:
2022-01-04 22:33:59 +01:00
parent c36fa30cbc
commit 12b0a90ad0
71 changed files with 1114 additions and 528 deletions

View File

@@ -0,0 +1,15 @@
#pragma once
#include <glm/mat4x4.hpp>
namespace MM::Components {
// tag/flag to track dirty positional data, to reduce computation.
struct DirtyTransformTag {};
struct Transform4x4 {
glm::mat4x4 trans {1.f};
};
} // MM::Components