23 lines
468 B
C++
23 lines
468 B
C++
//
|
|
// Created by sebastian on 24.12.25.
|
|
//
|
|
|
|
#ifndef DICEWARS_SIEDLER_RENDERER_H
|
|
#define DICEWARS_SIEDLER_RENDERER_H
|
|
#include "../layer/entities/Entity.h"
|
|
#include "model/RawModel.h"
|
|
#include "model/TexturedModel.h"
|
|
#include "shaders/StaticShader.h"
|
|
|
|
|
|
class Renderer {
|
|
public:
|
|
void prepare();
|
|
void renderFrame(const Entity &entity);
|
|
private:
|
|
void renderRawModel(const Entity &entity);
|
|
StaticShader staticShader;
|
|
};
|
|
|
|
|
|
#endif //DICEWARS_SIEDLER_RENDERER_H
|