<commit_before>#pragma once

#include <memory>

#include "tileManager/tileManager.h"
#include "viewModule/viewModule.h"

class SceneDefinition;

class SceneDirector {

public:

    SceneDirector();

    void loadStyles();

    void onResize(int _newWidth, int _newHeight);

    void update(float _dt);

    void renderFrame();

private:

    std::unique_ptr<TileManager> m_tileManager;
    
    std::shared_ptr<SceneDefinition> m_sceneDefinition;
    std::shared_ptr<ViewModule> m_viewModule;

};<commit_msg>sceneDirector destructor to deallocate the tesselator<commit_after>#pragma once

#include <memory>

#include "tileManager/tileManager.h"
#include "viewModule/viewModule.h"
#include "util/geometry.h"

class SceneDefinition;

class SceneDirector {

public:

    SceneDirector();

    void loadStyles();

    void onResize(int _newWidth, int _newHeight);

    void update(float _dt);

    void renderFrame();

    ~SceneDirector() {
        GeometryHandler::cleanup();
    }

private:

    std::unique_ptr<TileManager> m_tileManager;
    
    std::shared_ptr<SceneDefinition> m_sceneDefinition;
    std::shared_ptr<ViewModule> m_viewModule;

};
{'fraction_non_alphanumeric': 0.10704960835509138, 'fraction_numerical': 0.0, 'mean_word_length': 4.555555555555555, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1537670', 'n_tokens_mistral': 382, 'n_tokens_neox': 357, 'n_words': 75}