diff --git a/include/scene.h b/include/scene.h index e345396..8ce23ad 100644 --- a/include/scene.h +++ b/include/scene.h @@ -2,9 +2,9 @@ #include #include -#include #include #include +#include #include @@ -84,7 +84,7 @@ struct Scene { std::string err; if (!tinyobj::LoadObj(&o->attrib, &o->shapes, &o->materials, &err, path.data())) - std::cerr << "Could not load obj: " << err; + std::println("Could not load obj: {}", err); return *objects.emplace_back(std::move(o)); } diff --git a/src/main.cpp b/src/main.cpp index e2daab5..13e6033 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2,8 +2,6 @@ #include #include #include -#include -#include #include #define STB_IMAGE_WRITE_IMPLEMENTATION