diff options
Diffstat (limited to 'src/render_assets.h')
-rw-r--r-- | src/render_assets.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/render_assets.h b/src/render_assets.h new file mode 100644 index 0000000..763bf76 --- /dev/null +++ b/src/render_assets.h @@ -0,0 +1,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
\ No newline at end of file |