MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / insertWorldNameIntoSkyTextureBase

Method insertWorldNameIntoSkyTextureBase

src/content/Sky.cpp:481–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481std::string Sky::insertWorldNameIntoSkyTextureBase(const std::string& skyTextureBase, const std::string& worldName)
482{
483 std::string texNameWorld = skyTextureBase;
484 texNameWorld.insert(skyTextureBase.find_first_of('_'), "_" + Utils::uppered(worldName));
485
486 return texNameWorld;
487}
488
489
490/**

Callers

nothing calls this directly

Calls 1

insertMethod · 0.80

Tested by

no test coverage detected