mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-11-23 13:12:06 +00:00
Refactored clipmap generation, further refactored other files to better use c++
This commit is contained in:
@@ -193,7 +193,8 @@ namespace BSP
|
||||
{
|
||||
std::unique_ptr<BSPData> createBSPData(std::string& mapName, ISearchPath& searchPath)
|
||||
{
|
||||
std::string gfxFbxPath = BSPUtil::getFileNameForBSPAsset("map_gfx.fbx");
|
||||
std::string gfxFbxFileName = "map_gfx.fbx";
|
||||
std::string gfxFbxPath = BSPUtil::getFileNameForBSPAsset(gfxFbxFileName);
|
||||
auto gfxFile = searchPath.Open(gfxFbxPath);
|
||||
if (!gfxFile.IsOpen())
|
||||
{
|
||||
@@ -222,7 +223,8 @@ namespace BSP
|
||||
}
|
||||
|
||||
ufbx_scene* colScene;
|
||||
std::string colFbxPath = BSPUtil::getFileNameForBSPAsset("map_col.fbx");
|
||||
std::string colFbxFileName = "map_col.fbx";
|
||||
std::string colFbxPath = BSPUtil::getFileNameForBSPAsset(colFbxFileName);
|
||||
auto colFile = searchPath.Open(colFbxPath);
|
||||
if (!colFile.IsOpen())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user