SimpleEngine/include/simpleengine/ecs/component/model_componenet.h

28 lines
618 B
C++

#pragma once
#include "component.h"
#include "../../gfx/model.h"
#include "../../gfx/material.h"
#include <iostream>
#include <vector>
namespace simpleengine {
/**
* @brief A Model is a object that will be shown on the screen by a renderer.
*
*/
class ModelComponent : public simpleengine::Component {
public:
gfx::Model model;
//gfx::Material material;
ModelComponent(gfx::Model model) : model(model) {
}
virtual void update(const float& delta_time) override {
std::cout << "Model Component update" << std::endl;
}
};
}