summaryrefslogtreecommitdiff
path: root/src/first_app.hpp
diff options
context:
space:
mode:
authortylermurphy534 <tylermurphy534@gmail.com>2022-10-01 14:35:16 -0400
committertylermurphy534 <tylermurphy534@gmail.com>2022-10-01 14:35:16 -0400
commit6a001c4840140e71ba1672a4576d52d1a62c0922 (patch)
tree8b3ebdbb7e2580ca5de14dca895a779553026c6f /src/first_app.hpp
parentvariable chunk sizes (diff)
downloadminecraftvulkan-6a001c4840140e71ba1672a4576d52d1a62c0922.tar.gz
minecraftvulkan-6a001c4840140e71ba1672a4576d52d1a62c0922.tar.bz2
minecraftvulkan-6a001c4840140e71ba1672a4576d52d1a62c0922.zip
rename src files, move .o to /bin
Diffstat (limited to 'src/first_app.hpp')
-rwxr-xr-xsrc/first_app.hpp46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/first_app.hpp b/src/first_app.hpp
deleted file mode 100755
index d361296..0000000
--- a/src/first_app.hpp
+++ /dev/null
@@ -1,46 +0,0 @@
-#pragma once
-
-#include "xe_engine.hpp"
-
-#include "keyboard_movement_controller.hpp"
-#include "simple_renderer.hpp"
-#include "chunk.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 FirstApp {
- public:
-
- FirstApp();
- ~FirstApp();
-
- FirstApp(const FirstApp &) = delete;
- FirstApp operator=(const FirstApp &) = delete;
-
- void run();
-
- private:
-
- static constexpr int WIDTH = 800;
- static constexpr int HEIGHT = 600;
- static constexpr int RENDER_DISTANCE = 10;
-
- void createGameObjects(xe::GameObject& viewer);
- void reloadLoadedChunks(xe::GameObject& viewer);
-
-
- int viewX, viewZ;
-
- xe::Engine xeEngine;
- std::vector<xe::GameObject> loadedChunks;
-};
-} \ No newline at end of file