From fa80d425a5a804ed20fb53aa5be0c2a269112274 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Mon, 13 May 2024 21:46:58 -0400 Subject: [PATCH] stencile --- CMakeLists.txt | 2 +- lib/BLT-With-Graphics-Template | 2 +- src/main.cpp | 8 ++------ 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b44669d..f479e70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(graphs VERSION 0.0.38) +project(graphs VERSION 0.0.39) option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF) option(ENABLE_UBSAN "Enable the ub sanitizer" OFF) diff --git a/lib/BLT-With-Graphics-Template b/lib/BLT-With-Graphics-Template index 7c82253..2c29dba 160000 --- a/lib/BLT-With-Graphics-Template +++ b/lib/BLT-With-Graphics-Template @@ -1 +1 @@ -Subproject commit 7c82253251e937b2caa9a0717b1008282d2200ce +Subproject commit 2c29dba90fc8de8fe8cbacd035c50d13a4f5aa70 diff --git a/src/main.cpp b/src/main.cpp index f58fc87..36c6a53 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -227,12 +227,8 @@ class graph_t } for (const auto& point : nodes) - { - auto pr = point.getRenderObj(); - pr.scale *= point.getOutlineScale(); - renderer_2d.drawPointInternal(blt::gfx::render_info_t::make_info(point.getOutlineColor()), pr, 10.0f); - renderer_2d.drawPointInternal(blt::gfx::render_info_t::make_info("parker_point"), point.getRenderObj(), 15.0f); - } + renderer_2d.drawPointInternal(blt::gfx::render_info_t::make_info("parker_point", point.getOutlineColor(), point.getOutlineScale()), + point.getRenderObj(), 15.0f); for (const auto& edge : edges) { if (edge.getFirst() >= nodes.size() || edge.getSecond() >= nodes.size())