Gjk, FPS view.
This commit is contained in:
10
src/VkExpe.h
10
src/VkExpe.h
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user