summaryrefslogblamecommitdiffstats
path: root/src/RendererSectionData.hpp
blob: ca652f4f7e514fe37e01df7686115689caa8a5be (plain) (tree)
1
2
3
4
5
6
7
8
9


                 


                         


                     





                                    
                    
                      
  

                                                                      
#pragma once

#include <vector>

#include <glm/mat4x4.hpp>

#include "Vector.hpp"

class World;

struct RendererSectionData {
    std::vector<glm::mat4> models;
    std::vector<glm::vec4> textures;
    std::vector<glm::vec3> colors;
    std::vector<glm::vec2> lights;
    size_t hash = 0;
    Vector sectionPos;
};

RendererSectionData ParseSection(World *world, Vector sectionPosition);