3#include "pixelbullet/assets/morph_mesh.h"
15namespace morph_mesh_internal
19 std::vector<MorphMesh::Vertex> vertices;
20 std::vector<uint32_t> indices;
21 std::vector<MorphMesh::Target> targets;
22 MorphMesh::Bounds bounds;
23 bool has_bounds =
false;
26void ResetLoadData(
LoadData& data)
noexcept;
27void IncludeBoundsPosition(
LoadData& data,
const glm::vec3& position)
noexcept;
28void GenerateTangents(std::vector<MorphMesh::Vertex>& vertices,
const std::vector<uint32_t>& indices,
29 const std::filesystem::path& resolved_path, uint32_t texcoord_index = 0u);
32[[nodiscard]] std::optional<MorphMesh::Bounds> LoadMorphMeshBounds(
const Filesystem& filesystem,
const VirtualPath& asset_path);
34 std::string* error_message =
nullptr);
Definition filesystem.h:16
Definition virtual_path.h:10
Definition morph_mesh_internal.h:18