rename main sdf class for convenient synonym names
This commit is contained in:
@@ -80,7 +80,7 @@ namespace OpenVulkano
|
||||
}
|
||||
|
||||
#if defined(MSDFGEN_AVAILABLE) && CREATE_NEW_ATLAS
|
||||
std::set<uint32_t> s = SdfFontAtlasGeneratorT::LoadAllGlyphs(fontPath);
|
||||
std::set<uint32_t> s = SdfFontAtlasGenerator::LoadAllGlyphs(fontPath);
|
||||
m_atlasGenerator.GenerateAtlas(fontPath, s);
|
||||
m_msdfAtlasGenerator.GenerateAtlas(fontPath, s);
|
||||
m_atlasGenerator.SaveAtlasMetadataInfo("sdf_atlas.png");
|
||||
@@ -176,7 +176,7 @@ namespace OpenVulkano
|
||||
PerspectiveCamera m_cam;
|
||||
OpenVulkano::FreeCamCameraController m_camController;
|
||||
#ifdef MSDFGEN_AVAILABLE
|
||||
SdfFontAtlasGeneratorT m_atlasGenerator;
|
||||
SdfFontAtlasGenerator m_atlasGenerator;
|
||||
MsdfFontAtlasGenerator m_msdfAtlasGenerator;
|
||||
#endif
|
||||
std::vector<SimpleDrawable*> m_drawablesPool;
|
||||
|
||||
Reference in New Issue
Block a user