Skip to content
Snippets Groups Projects
Commit fd220b20 authored by Filip Vincze's avatar Filip Vincze
Browse files

Add font props creation

parent 61f58f43
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@
#include <iostream>
#include <sstream>
#include <fstream>
#include <gfx/text_generator.hpp>
namespace mak {
......@@ -99,6 +100,10 @@ void Presenter::initialize()
gfx::light_system()->insert_shadow_caster(dir_light, test_box);
print_tree(*gfx::root(), std::cout);
print_tree(*mak::root(), std::cout);
std::shared_ptr<gfx::font_mono_props> props = std::make_shared<gfx::font_mono_props>();
gfx::load_font_mono_props(std::filesystem::canonical(osi::data()->dir()) / "age" / "font" / "Consolas_16.txt", *props);
}
void Presenter::release()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment