feat: basic ecs start + renderer class

This commit is contained in:
2025-10-07 21:36:23 +02:00
parent 6cef3efbbc
commit 4e86d92987
9 changed files with 218 additions and 77 deletions

18
include/ecs/entity.h Normal file
View File

@ -0,0 +1,18 @@
#ifndef ECS_ENTITY_H_
#define ECS_ENTITY_H_
#include "ecs/components/transform.h"
#include "ecs/components/mesh.h"
namespace ecs {
class Entity {
public:
Transform transform;
Mesh mesh;
Entity(Mesh m) : mesh(m) {}
~Entity() = default;
};
}
#endif // ECS_ENTITY_H_