forgot semi

main
Brett 2024-04-30 17:05:56 -04:00
parent 1c101f9535
commit d20124af80
2 changed files with 8 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.21) project(graphs VERSION 0.0.23)
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)

View File

@ -439,12 +439,12 @@ class graph
auto adj_mv = ovm * blt::vec4(mv.x(), mv.y(), 0, 1); 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); 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: ";
BLT_TRACE_STREAM << adj_mv << "\n"; //BLT_TRACE_STREAM << adj_mv << "\n";
BLT_TRACE_STREAM << "adj_size: "; //BLT_TRACE_STREAM << "adj_size: ";
BLT_TRACE_STREAM << adj_size << "\n"; //BLT_TRACE_STREAM << adj_size << "\n";
if (current_node < 0) if (current_node < 0)
{ {
@ -466,8 +466,8 @@ class graph
{ {
auto pos = nodes[current_node].getPosition(); auto pos = nodes[current_node].getPosition();
auto adj_pos = ovm * blt::vec4(pos.x(), pos.y(), 0, 1); auto adj_pos = ovm * blt::vec4(pos.x(), pos.y(), 0, 1);
BLT_TRACE_STREAM << "adj_pos: "; //BLT_TRACE_STREAM << "adj_pos: ";
BLT_TRACE_STREAM << adj_pos << "\n"; //BLT_TRACE_STREAM << adj_pos << "\n";
nodes[current_node].getPositionRef() = mv; nodes[current_node].getPositionRef() = mv;
} }
} }