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

View File

@ -0,0 +1,16 @@
#ifndef ECS_COMP_MESH_H_
#define ECS_COMP_MESH_H_
#include "renderer/wavefront.h"
#include "ecs/component.h"
namespace ecs {
class Mesh : Component {
public:
Object* object;
Mesh(Object* model) : object(model) {}
};
}
#endif // ECS_COMP_MESH_H_