feat: basic ecs start + renderer class
This commit is contained in:
18
include/ecs/entity.h
Normal file
18
include/ecs/entity.h
Normal 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_
|
Reference in New Issue
Block a user