MOS
directional_light.hpp
1 #pragma once
2 
3 #include <glm/glm.hpp>
4 #include <string>
5 
6 namespace mos::gfx {
7 
9  static auto load(const std::string &directory, const std::string &path,
10  const glm::mat4 &parent_transform = glm::mat4(1.0f))
12 
13  glm::vec3 position{0.0f};
14  glm::vec3 direction{0.0f, 0.0f, 1.0f};
15  glm::vec3 color{1.0f};
16  float strength{0.0f};
17 };
18 } // namespace mos::gfx
Definition: directional_light.hpp:8
Definition: assets.hpp:17