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