diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c54ea0..8fb3629 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(graphs VERSION 0.0.4) +project(graphs VERSION 0.0.5) 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 d40b917..8943558 160000 --- a/lib/BLT-With-Graphics-Template +++ b/lib/BLT-With-Graphics-Template @@ -1 +1 @@ -Subproject commit d40b917c32c6c135c3a2f939ee9436d85d94bd64 +Subproject commit 894355810995472652b83b9f18345d0c8c9fc3d2 diff --git a/src/main.cpp b/src/main.cpp index 033e1d3..e23ac1a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -54,9 +54,9 @@ void update(std::int32_t width, std::int32_t height) if (y > 256) sy *= -1; - renderer_2d.drawLine(blt::vec4{1, 0, 1, 1}, blt::vec2{x,y}, blt::vec2{500, 500}, 5.0f); - renderer_2d.drawLine(blt::vec4{1, 0, 0, 1}, blt::vec2{0,150}, blt::vec2{240, 0}, 12.0f); - renderer_2d.drawPoint(blt::vec4{0, 1, 0, 1}, blt::vec2{500, 500}, 50.0f); + renderer_2d.drawLine(blt::vec4{1, 0, 1, 1}, 0.0f, blt::vec2{x,y}, blt::vec2{500, 500}, 5.0f); + renderer_2d.drawLine(blt::vec4{1, 0, 0, 1}, 0.0f, blt::vec2{0,150}, blt::vec2{240, 0}, 12.0f); + renderer_2d.drawPoint(blt::vec4{0, 1, 0, 1}, -0.4f, blt::vec2{500, 500}, 50.0f); camera.update(); camera.update_view(global_matrices);