mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-02 06:12:41 +01:00
feat(model): .ng3d and .ng3p in what this branch adds, as below it
The model files are .ng3d and the family store .ng3p, selected with modelformat ng3d (8637101d9 on feat/e4d-compact).
This commit is contained in:
@@ -243,7 +243,7 @@ TEST_CASE("skinning: the tube bent by a clip of its own") {
|
||||
}
|
||||
CHECK(eu07m::validate(model, 16).empty());
|
||||
auto const file{eu07m::write(model, {true, 9})};
|
||||
auto const path{std::filesystem::path{EU07_UNIT_TESTS_SCRATCH} / "clip_tube.r3a"};
|
||||
auto const path{std::filesystem::path{EU07_UNIT_TESTS_SCRATCH} / "clip_tube.ng3d"};
|
||||
std::ofstream output{path, std::ios::binary};
|
||||
output.write(reinterpret_cast<char const *>(file.data()), static_cast<std::streamsize>(file.size()));
|
||||
CHECK(output.good());
|
||||
|
||||
Reference in New Issue
Block a user