Skip to content

Instantly share code, notes, and snippets.

@ozlb
ozlb / nodes.cpp
Created January 17, 2023 23:01 — forked from ChemistAion/nodes.cpp
Second prototype of standalone node graph editor for ImGui
#include "nodes.h"
namespace ImGui
{
void ImGuiNodes::UpdateCanvasGeometry(ImDrawList* draw_list)
{
const ImGuiIO& io = ImGui::GetIO();
mouse_ = ImGui::GetMousePos();