summaryrefslogtreecommitdiffstats
path: root/src/RendererSectionData.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/RendererSectionData.hpp')
-rw-r--r--src/RendererSectionData.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/RendererSectionData.hpp b/src/RendererSectionData.hpp
index 3062d0c..7b30e44 100644
--- a/src/RendererSectionData.hpp
+++ b/src/RendererSectionData.hpp
@@ -31,11 +31,11 @@ struct SectionsData {
};
struct RendererSectionData {
- std::vector<glm::vec4> positions;
- std::vector<glm::vec4> textures;
- std::vector<float> textureLayers;
- std::vector<float> textureFrames;
- std::vector<glm::vec3> colors;
+ std::vector<glm::vec4> positions; //4 per instance
+ std::vector<glm::vec2> uvs; //4 per instance
+ std::vector<float> uvLayers;
+ std::vector<glm::vec2> animations;
+ std::vector<glm::vec3> colors;
std::vector<glm::vec2> lights;
size_t hash = 0;
Vector sectionPos;