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

RendererSectionData ParseSection(World *world, Vector sectionPosition);