blob: 59871b2d9b1732c955ac4847f887bfdd6c614311 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#pragma once
#include "xe_engine.hpp"
#include "player_controller.hpp"
#include "chunk.hpp"
#include "world.hpp"
#define GLM_FORCE_RADIANS
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
#include <glm/glm.hpp>
#include <glm/gtc/constants.hpp>
#include <array>
#include <string>
#include <memory>
#include <vector>
#include <iostream>
namespace app {
class Minecraft {
public:
Minecraft();
~Minecraft();
void run();
private:
static constexpr int WIDTH = 800;
static constexpr int HEIGHT = 600;
xe::Engine engine;
};
}
|