switch to yolo logger
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Adapted from https://raw.githubusercontent.com/tamato/simple-obj-loader/master/objloader.cpp
|
||||
#include "objloader.hpp"
|
||||
|
||||
#include <spdlog/spdlog.h>
|
||||
#include <yolo/yolo.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
@@ -54,7 +54,7 @@ void ObjLoader::load(std::filesystem::path file)
|
||||
{
|
||||
if (!std::filesystem::exists(file))
|
||||
{
|
||||
spdlog::error("OBJ File does not exist at ", file.string());
|
||||
yolo::error("OBJ File does not exist at ", file.string());
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ void ObjLoader::load(std::filesystem::path file)
|
||||
inf.open(file.c_str(), std::ios_base::in);
|
||||
if (!inf.is_open())
|
||||
{
|
||||
spdlog::error("Failed to open OBJ file ", file.string());
|
||||
yolo::error("Failed to open OBJ file ", file.string());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user