diff --git a/libraries/lib-engine/include/polymer-engine/renderer/renderer-debug.hpp b/libraries/lib-engine/include/polymer-engine/renderer/renderer-debug.hpp index e83b61a..8ce45fe 100644 --- a/libraries/lib-engine/include/polymer-engine/renderer/renderer-debug.hpp +++ b/libraries/lib-engine/include/polymer-engine/renderer/renderer-debug.hpp @@ -10,6 +10,9 @@ #include "polymer-engine/scene.hpp" +// todo: refactor to inline shaders and make debug renderer a gl-component rather than being +// included in polymer-engine directly + namespace polymer { class global_debug_mesh_manager : public singleton @@ -28,6 +31,7 @@ namespace polymer global_debug_mesh_manager() = default; + void initialize_resources(entity_system_manager * esm, scene * the_scene) { debug_renderer_material = std::make_shared(); @@ -126,6 +130,21 @@ namespace polymer } } + void draw_obb() + { + // todo + } + + void draw_frustum() + { + // todo + } + + void draw_text() + { + // todo + } + void upload() { auto & debug_renderer_mesh = gpu_mesh_handle("debug-renderer").get();