diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2023-09-18 07:25:55 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2023-09-18 07:25:55 -0400 |
| commit | aa880ba627b3c18ea9538416bae6f060e72b43d3 (patch) | |
| tree | c05d0b00a0d2246a6d06d5ade7139bdfe0654c4d /src/window.hpp | |
| parent | b99d942010ed0ee678fafb917a4afd14c8a88fbc (diff) | |
uniform buffer first pass, created but not used
Diffstat (limited to 'src/window.hpp')
| -rw-r--r-- | src/window.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/window.hpp b/src/window.hpp index ce79dd5..430151e 100644 --- a/src/window.hpp +++ b/src/window.hpp @@ -9,6 +9,7 @@ #include "memory.hpp" #include "ecs.hpp" +#include "glm/mat4x4.hpp" #include <cstring> #include <cstdio> #include <vector> @@ -41,6 +42,12 @@ struct PKEWindowProperties { unsigned int height = 720; }; +struct UniformBufferObject { + glm::mat4 model; + glm::mat4 view; + glm::mat4 proj; +}; + void CreateWindow(PKEWindowProperties *wp); void DestroyWindow(); VkShaderModule UploadShader(AssetHandle handle); |
