feat: add C++ support with ImGui/ImPlot framework and vendor submodules

Añade soporte C++ al registry: vendor submodules (glfw, imgui, implot, tracy),
sistema de build con CMake y toolchains cross-platform, runner C++ en fn CLI,
parser de tests Google Test, y funciones bash para build Linux/Windows.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-06 23:46:36 +02:00
parent 0c759c1b66
commit 4b2bb6998a
36 changed files with 1065 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#include "viz/line_plot.h"
#include "implot.h"
void line_plot(const char* title, const float* xs, const float* ys, int count) {
if (ImPlot::BeginPlot(title, ImVec2(-1, 0))) {
ImPlot::PlotLine("##data", xs, ys, count);
ImPlot::EndPlot();
}
}
void line_plot(const char* title, const double* xs, const double* ys, int count) {
if (ImPlot::BeginPlot(title, ImVec2(-1, 0))) {
ImPlot::PlotLine("##data", xs, ys, count);
ImPlot::EndPlot();
}
}