summaryrefslogtreecommitdiff
path: root/src/vk/uniform_buffer.hpp
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2022-09-16 12:03:04 -0300
committerFrederico Linhares <fred@linhares.blue>2022-09-16 12:03:04 -0300
commit3d6ca447a7104c499e92fc954affdaf4bf011388 (patch)
treed759fbd39d3d66a2457ea92fc4eeb2c31b2cbe4f /src/vk/uniform_buffer.hpp
parent0d0868611389b8dded0c1dfef7a530a4b6e1f148 (diff)
feat Create View
Diffstat (limited to 'src/vk/uniform_buffer.hpp')
-rw-r--r--src/vk/uniform_buffer.hpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/vk/uniform_buffer.hpp b/src/vk/uniform_buffer.hpp
index 2cee9ff..e978894 100644
--- a/src/vk/uniform_buffer.hpp
+++ b/src/vk/uniform_buffer.hpp
@@ -26,34 +26,6 @@
namespace VK
{
-struct UBOSpritePositions
-{
- glm::vec4 positions[128];
-};
-
-struct UBOProjection
-{
- glm::mat4 proj;
-};
-
-struct UBOModelInstance
-{
- glm::mat4 instances[128];
-};
-
-struct UBOViewProjection
-{
- glm::mat4 view;
- glm::mat4 proj;
- glm::vec4 ambient_color;
-};
-
-struct UBODirectionalLight
-{
- glm::vec3 direction;
- glm::vec4 color;
-};
-
// FIXME: this class need to delete or create custom copy constructors!
class UniformBuffer: public BaseBuffer
{