migrate from std::filesystem::path to io::path (WIP)

This commit is contained in:
MihailRis
2025-01-30 22:23:13 +03:00
parent 1e22882284
commit e0314803c0
72 changed files with 1189 additions and 791 deletions
+2 -4
View File
@@ -4,9 +4,7 @@
#include "io/io.hpp"
TEST(VEC3, Decode) {
auto file = std::filesystem::u8path(
"res/models/block.vec3"
);
io::path file = "res/models/block.vec3";
auto bytes = io::read_bytes_buffer(file);
auto model = vec3::load(file.u8string(), bytes);
auto model = vec3::load(file.string(), bytes);
}