22 lines
396 B
C++
22 lines
396 B
C++
//
|
|
// Created by sebastian on 08.02.26.
|
|
//
|
|
|
|
#ifndef MODELCOMPONENT_H
|
|
#define MODELCOMPONENT_H
|
|
#include <memory>
|
|
|
|
#include "Component.h"
|
|
#include "../../renderer/model/TexturedModel.h"
|
|
|
|
|
|
class ModelComponent: public Component {
|
|
public:
|
|
std::shared_ptr<TexturedModel> model;
|
|
ModelComponent(std::shared_ptr<TexturedModel> model) : model(std::move(model)) {};
|
|
};
|
|
|
|
|
|
|
|
#endif //MODELCOMPONENT_H
|