Skip to content
Snippets Groups Projects
Commit 84523faf authored by HASPEKIAN Yvan's avatar HASPEKIAN Yvan
Browse files

Removed implot

parent 8475a386
No related branches found
No related tags found
No related merge requests found
...@@ -4,5 +4,5 @@ Size=400,400 ...@@ -4,5 +4,5 @@ Size=400,400
[Window][Particle Generator] [Window][Particle Generator]
Pos=60,60 Pos=60,60
Size=848,714 Size=141,81
...@@ -6,13 +6,11 @@ ...@@ -6,13 +6,11 @@
#include <imgui.h> #include <imgui.h>
#include <imgui_impl_glfw.h> #include <imgui_impl_glfw.h>
#include <imgui_impl_opengl3.h> #include <imgui_impl_opengl3.h>
#include <implot.h>
namespace pg::interface { namespace pg::interface {
Manager::Manager(const Window & window, pg::Manager & manager) Manager::Manager(const Window & window, pg::Manager & manager)
: _window(window), _manager(manager), _title(window.title()) { : _window(window), _manager(manager), _title(window.title()) {
ImGui::CreateContext(); ImGui::CreateContext();
ImPlot::CreateContext();
ImGui::GetIO().IniFilename = "config/imgui.ini"; ImGui::GetIO().IniFilename = "config/imgui.ini";
ImGui_ImplGlfw_InitForOpenGL(window.address(), true); ImGui_ImplGlfw_InitForOpenGL(window.address(), true);
...@@ -28,7 +26,6 @@ namespace pg::interface { ...@@ -28,7 +26,6 @@ namespace pg::interface {
ImGui_ImplOpenGL3_Shutdown(); ImGui_ImplOpenGL3_Shutdown();
ImGui_ImplGlfw_Shutdown(); ImGui_ImplGlfw_Shutdown();
ImPlot::DestroyContext();
ImGui::DestroyContext(); ImGui::DestroyContext();
} }
......
#include "PathAnimated.hpp" #include "PathAnimated.hpp"
#include <imgui.h> #include <imgui.h>
#include <implot.h>
#include "../../Scene/Scenes/Path.hpp" #include "../../Scene/Scenes/Path.hpp"
#include "../../tfd/tinyfiledialogs.h" #include "../../tfd/tinyfiledialogs.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment