Gjk, FPS view.

This commit is contained in:
2022-02-24 22:38:09 +01:00
parent 906290edfa
commit f19e59f819
8 changed files with 339 additions and 17 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include <core.h>
#include <VulkanTutorial.h>
#include <SDL2/SDL.h>
@@ -26,8 +27,17 @@ public:
void run();
void update(double elapsed);
private:
VulkanTutorial m_vulkan;
Vector3 m_camera_position = Vector3(0.0f, 0.0f, -3.0f);
Vector3 m_camera_z = Vector3(0.0f, 0.0f, 1.0f);
Vector3 m_camera_y = Vector3(0.0f, 1.0f, 0.0f);
WindowUP m_window;
bool m_running = false;
Vector2 m_mouse_offset = Vector2::Zero();
};