summaryrefslogtreecommitdiff
path: root/src/render_assets.h
blob: 2dfff0797d17743acbc8154df4a50b11af558320 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#pragma once

#include <cstdint>
#include <string>
#include <vector>
#include <glm/glm.hpp>

namespace iris {

struct Mesh {
    std::string name;
    std::vector<float> vertices;
    std::vector<float> normals;
    std::vector<float> texcoords;
    std::vector<uint32_t> indices;
};

struct Material {

};

struct Texture {
};

struct Camera {
    glm::vec3 position;
    glm::vec3 direction;
    glm::vec3 up;
};

struct Scene {
    std::vector<Mesh> meshes;
    std::vector<Material> materials;
    std::vector<Texture> textures;

    Camera camera_position;
};

} // namespace iris