summaryrefslogtreecommitdiffstats
path: root/src/RendererSectionData.hpp
blob: ca652f4f7e514fe37e01df7686115689caa8a5be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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);