main
Brett 2024-05-13 21:46:58 -04:00
parent 8b7a068aeb
commit fa80d425a5
3 changed files with 4 additions and 8 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.25) 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_ADDRSAN "Enable the address sanitizer" OFF)
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF) option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)

@ -1 +1 @@
Subproject commit 7c82253251e937b2caa9a0717b1008282d2200ce Subproject commit 2c29dba90fc8de8fe8cbacd035c50d13a4f5aa70

View File

@ -227,12 +227,8 @@ class graph_t
} }
for (const auto& point : nodes) for (const auto& point : nodes)
{ renderer_2d.drawPointInternal(blt::gfx::render_info_t::make_info("parker_point", point.getOutlineColor(), point.getOutlineScale()),
auto pr = point.getRenderObj(); point.getRenderObj(), 15.0f);
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);
}
for (const auto& edge : edges) for (const auto& edge : edges)
{ {
if (edge.getFirst() >= nodes.size() || edge.getSecond() >= nodes.size()) if (edge.getFirst() >= nodes.size() || edge.getSecond() >= nodes.size())