summaryrefslogtreecommitdiffstats
path: root/src/RendererSectionData.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-06-28 18:31:26 +0200
committerLaG1924 <lag1924@gmail.com>2021-06-28 18:31:26 +0200
commit08337925fe048d2e8b746bbc82493f4c2b8603d6 (patch)
treedbedfb5aae51c59423fbc590b2c2f322f9362a79 /src/RendererSectionData.hpp
parentImplemented vertex data iterleaving (diff)
downloadAltCraft-08337925fe048d2e8b746bbc82493f4c2b8603d6.tar
AltCraft-08337925fe048d2e8b746bbc82493f4c2b8603d6.tar.gz
AltCraft-08337925fe048d2e8b746bbc82493f4c2b8603d6.tar.bz2
AltCraft-08337925fe048d2e8b746bbc82493f4c2b8603d6.tar.lz
AltCraft-08337925fe048d2e8b746bbc82493f4c2b8603d6.tar.xz
AltCraft-08337925fe048d2e8b746bbc82493f4c2b8603d6.tar.zst
AltCraft-08337925fe048d2e8b746bbc82493f4c2b8603d6.zip
Diffstat (limited to 'src/RendererSectionData.hpp')
-rw-r--r--src/RendererSectionData.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/RendererSectionData.hpp b/src/RendererSectionData.hpp
index e2fd190..edd2992 100644
--- a/src/RendererSectionData.hpp
+++ b/src/RendererSectionData.hpp
@@ -31,12 +31,13 @@ struct SectionsData {
};
struct VertexData {
- glm::vec4 positions[4];
+ glm::vec3 positions[4];
glm::vec2 uvs[4];
float uvLayers;
- glm::vec2 animations;
+ float animations;
glm::vec3 colors;
glm::vec2 lights;
+ uint8_t padding[20];
};
struct RendererSectionData {