diff options
author | LaG1924 <lag1924@gmail.com> | 2021-06-28 18:31:26 +0200 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-06-28 18:31:26 +0200 |
commit | 08337925fe048d2e8b746bbc82493f4c2b8603d6 (patch) | |
tree | dbedfb5aae51c59423fbc590b2c2f322f9362a79 /src/RendererSectionData.hpp | |
parent | Implemented vertex data iterleaving (diff) | |
download | AltCraft-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.hpp | 5 |
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 { |