More text cleanup
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
#include "Base/EngineConfiguration.hpp"
|
||||
#include "Controller/FreeCamCameraController.hpp"
|
||||
#include "Scene/Text/SdfFontAtlasGenerator.hpp"
|
||||
#include <filesystem>
|
||||
|
||||
#ifdef _WIN32
|
||||
#undef TRANSPARENT
|
||||
@@ -47,7 +46,7 @@ namespace OpenVulkano
|
||||
auto& resourceLoader = ResourceLoader::GetInstance();
|
||||
auto sdfMetadataInfo = resourceLoader.GetResource("sdf_atlas_packed.png");
|
||||
|
||||
TextDrawable textDrawable(sdfMetadataInfo);
|
||||
TextDrawable textDrawable(std::make_shared<FontAtlas>(sdfMetadataInfo));
|
||||
const std::vector<std::string> texts = { "_!?{}.#@", "1", "XYZ", "12345" };
|
||||
const int N = texts.size();
|
||||
m_nodesPool.resize(N);
|
||||
|
||||
Reference in New Issue
Block a user