12 lines
298 B
C++
12 lines
298 B
C++
|
|
#pragma once
|
||
|
|
#include "vde/mesh/halfedge_mesh.h"
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
namespace vde::foundation {
|
||
|
|
|
||
|
|
/// Export mesh to glTF 2.0 (JSON + optional embedded binary)
|
||
|
|
/// Returns true on success
|
||
|
|
bool write_gltf(const std::string& filepath, const mesh::HalfedgeMesh& mesh);
|
||
|
|
|
||
|
|
} // namespace vde::foundation
|