clean up comments

This commit is contained in:
ohyzha
2024-08-13 11:55:28 +03:00
parent ab669c73dd
commit dba13b754d
2 changed files with 0 additions and 4 deletions

View File

@@ -222,7 +222,6 @@ namespace OpenVulkano::Scene
generator.setThreadCount(4);
generator.generate(glyphsGeometry.data(), glyphsGeometry.size());
//const auto& storage = generator.atlasStorage();
int idx = 0;
if constexpr (Channels == 3)
{
@@ -309,7 +308,6 @@ namespace OpenVulkano::Scene
template<int Channels>
void FontAtlasGenerator<Channels>::SavePng(const std::string& output) const
{
// rework here. do not pass storage . use m_atlasStorage
stbi_flip_vertically_on_write(1);
if (std::filesystem::path(output).extension() == ".png")
{

View File

@@ -60,7 +60,6 @@ namespace OpenVulkano::Scene
const Texture& GetAtlas() const override { return m_atlasTex; }
std::map<uint32_t, GlyphInfo>& GetGlyphsInfo() override { return m_symbols; }
AtlasMetadata& GetAtlasMetadata() override { return m_meta; }
//Generator& GetFontAtlasGenerator() { return m_generator; }
Config& GetGeneratorConfig() { return m_config; }
private:
void InitFreetypeFromFile(msdfgen::FreetypeHandle*& ft, msdfgen::FontHandle*& font, const std::string& file);
@@ -71,7 +70,6 @@ namespace OpenVulkano::Scene
void SavePng(const std::string& output) const;
private:
//Generator m_generator;
Texture m_atlasTex;
AtlasMetadata m_meta;
Config m_config;