asdfasdfasdfasdf
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
#include "../util/output/aviwriter.hpp"
|
#include "../util/output/aviwriter.hpp"
|
||||||
#include "../util/output/bmpwriter.hpp"
|
#include "../util/output/bmpwriter.hpp"
|
||||||
#include "../util/timing_decorator.cpp"
|
#include "../util/timing_decorator.cpp"
|
||||||
#include <imgui.h>
|
#include "../imgui/imgui.h"
|
||||||
|
|
||||||
struct AnimationConfig {
|
struct AnimationConfig {
|
||||||
int width = 1024;
|
int width = 1024;
|
||||||
@@ -208,9 +208,8 @@ void mainLogic(){
|
|||||||
int main() {
|
int main() {
|
||||||
static bool window = true;
|
static bool window = true;
|
||||||
ImGui::SetNextWindowSize(ImVec2(1110,667));
|
ImGui::SetNextWindowSize(ImVec2(1110,667));
|
||||||
|
auto beg = ImGui::Begin("Gradient thing", &window);
|
||||||
if (ImGui::Begin("window_name", &window))
|
if (beg) {
|
||||||
{
|
|
||||||
|
|
||||||
ImGui::SetCursorPos(ImVec2(435.5,200));
|
ImGui::SetCursorPos(ImVec2(435.5,200));
|
||||||
ImGui::PushItemWidth(200);
|
ImGui::PushItemWidth(200);
|
||||||
@@ -238,3 +237,6 @@ int main() {
|
|||||||
FunctionTimer::printStats(FunctionTimer::Mode::ENHANCED);
|
FunctionTimer::printStats(FunctionTimer::Mode::ENHANCED);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
//I need this: https://raais.github.io/ImStudio/
|
||||||
|
// or this: https://github.com/tpecholt/imrad/
|
||||||
|
// g++ -std=c++23 -O3 -march=native -o ./bin/g2gradc ./tests/g2chromatic2.cpp -I./imgui -L./imgui -limgui `pkg-config --cflags --libs glfw3` && ./bin/g2gradc
|
||||||
Reference in New Issue
Block a user