mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-11 03:23:51 +00:00
21 lines
685 B
C++
21 lines
685 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
namespace wowee {
|
||
|
|
namespace editor {
|
||
|
|
namespace cli {
|
||
|
|
|
||
|
|
// Dispatch the WOM <-> interchange-format handlers. WOM is our
|
||
|
|
// open M2 replacement; these export it to / import it from the
|
||
|
|
// formats every other 3D tool understands:
|
||
|
|
// --export-obj WOM -> Wavefront OBJ (universal text format)
|
||
|
|
// --export-glb WOM -> glTF 2.0 binary (browsers, Three.js)
|
||
|
|
// --export-stl WOM -> ASCII STL (slicers / 3D printers)
|
||
|
|
// --import-stl ASCII STL -> WOM (round-trip from CAD tools)
|
||
|
|
//
|
||
|
|
// Returns true if matched; outRc holds the exit code.
|
||
|
|
bool handleWomIo(int& i, int argc, char** argv, int& outRc);
|
||
|
|
|
||
|
|
} // namespace cli
|
||
|
|
} // namespace editor
|
||
|
|
} // namespace wowee
|