| 479 | } |
| 480 | |
| 481 | std::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 | /** |