From d20124af807e5aee49e54b8a163b582b59a4c38c Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Tue, 30 Apr 2024 17:05:56 -0400 Subject: [PATCH] forgot semi --- CMakeLists.txt | 2 +- src/main.cpp | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d5cba3c..547431a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(graphs VERSION 0.0.21) +project(graphs VERSION 0.0.23) option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF) option(ENABLE_UBSAN "Enable the ub sanitizer" OFF) diff --git a/src/main.cpp b/src/main.cpp index f24b7ce..108f3db 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -439,12 +439,12 @@ class graph auto adj_mv = ovm * blt::vec4(mv.x(), mv.y(), 0, 1); auto adj_size = ovm * blt::vec4(POINT_SIZE, POINT_SIZE, POINT_SIZE, POINT_SIZE); - float new_size = std::max(std::abs(adj_size.x()), std::abs(adj_size.y())) + float new_size = std::max(std::abs(adj_size.x()), std::abs(adj_size.y())); - BLT_TRACE_STREAM << "adj_mv: "; - BLT_TRACE_STREAM << adj_mv << "\n"; - BLT_TRACE_STREAM << "adj_size: "; - BLT_TRACE_STREAM << adj_size << "\n"; + //BLT_TRACE_STREAM << "adj_mv: "; + //BLT_TRACE_STREAM << adj_mv << "\n"; + //BLT_TRACE_STREAM << "adj_size: "; + //BLT_TRACE_STREAM << adj_size << "\n"; if (current_node < 0) { @@ -466,8 +466,8 @@ class graph { auto pos = nodes[current_node].getPosition(); auto adj_pos = ovm * blt::vec4(pos.x(), pos.y(), 0, 1); - BLT_TRACE_STREAM << "adj_pos: "; - BLT_TRACE_STREAM << adj_pos << "\n"; + //BLT_TRACE_STREAM << "adj_pos: "; + //BLT_TRACE_STREAM << adj_pos << "\n"; nodes[current_node].getPositionRef() = mv; } }