blob: 9cc72abcc4a0d32c6ac80a192664db5184344aca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include "chronology.hpp"
#include "gfx/gl/camera.h"
#include "gfx/gl/shader.h"
#include "window.h"
#include <cstddef>
class GameMainWindow : public Window {
public:
GameMainWindow(size_t w, size_t h);
void tick(TickDuration) override;
void render() const override;
private:
const Shader & getShader() const override;
Shader shader;
Camera camera;
};
|