blob: 763bf76801accad6cdef0e9cab97625bdad3a13a (
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
|
#pragma once
#include <cstdint>
#include <string>
#include <vector>
#include <glm/glm.hpp>
namespace iris {
template<typename T>
struct Mesh {
std::string name;
std::vector<T> vertices;
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<float>> meshes;
std::vector<Material> materials;
std::vector<Texture> textures;
Camera camera_position;
};
} // namespace iris
|