diff --git a/src/AssetMacros.h b/src/AssetMacros.h index b44807a..7e72ee6 100644 --- a/src/AssetMacros.h +++ b/src/AssetMacros.h @@ -34,7 +34,7 @@ constexpr std::string_view BUILT_IN_ASSET_ROOT{ "../../Built_In" }; // ASSET EXTENSIONS constexpr std::string_view TEXTURE_EXTENSION {".shtex"}; -constexpr std::string_view MESH_EXTENSION {".shmesh"}; +constexpr std::string_view MODEL_EXTENSION {".shmodel"}; // EXTERNAL EXTENSIONS constexpr std::string_view FBX_EXTENSION{ ".fbx" }; diff --git a/src/Libraries/MeshCompiler.cpp b/src/Libraries/MeshCompiler.cpp index f600e3d..35cf409 100644 --- a/src/Libraries/MeshCompiler.cpp +++ b/src/Libraries/MeshCompiler.cpp @@ -203,7 +203,7 @@ namespace SH_COMP void MeshCompiler::CompileMeshBinary(AssetPath path, MeshAsset const& asset) noexcept { std::string newPath{ path.string().substr(0, path.string().find_last_of('.')) }; - newPath += MESH_EXTENSION; + newPath += MODEL_EXTENSION; std::ofstream file{ newPath, std::ios::out | std::ios::binary | std::ios::trunc }; if (!file.is_open())