14#include <lagrange/SurfaceMesh.h>
15#include <lagrange/fs/filesystem.h>
16#include <lagrange/io/types.h>
32template <
typename Scalar,
typename Index>
34 std::ostream& output_stream,
35 const SurfaceMesh<Scalar, Index>& mesh,
48template <
typename Scalar,
typename Index>
50 const fs::path& filename,
51 const SurfaceMesh<Scalar, Index>& mesh,
Mesh input/output.
Definition detect_file_format.h:18
void save_mesh_gltf(std::ostream &output_stream, const SurfaceMesh< Scalar, Index > &mesh, const SaveOptions &options={})
Saves a mesh to an output stream in glTF or GLB format.
Definition save_gltf.cpp:548
Options used when saving a mesh or a scene.
Definition types.h:32