19 glm::vec3 position = glm::vec3(0.0f);
20 glm::vec3 normal = glm::vec3(0.0f, 0.0f, 1.0f);
21 glm::vec2 uv = glm::vec2(0.0f);
26 glm::vec3 min = glm::vec3(0.0f);
27 glm::vec3 max = glm::vec3(0.0f);
33 Load(filesystem, assetPath);
38 explicit operator bool() const noexcept
40 return !vertices_.empty() && !indices_.empty();
43 const VirtualPath& GetFilename()
const
47 const std::vector<Vertex>& GetVertices()
const
51 const std::vector<uint32_t>& GetIndices()
const
55 const Bounds& GetBounds()
const
64 VirtualPath filename_;
65 std::vector<Vertex> vertices_;
66 std::vector<uint32_t> indices_;