diff --git a/CMakeLists.txt b/CMakeLists.txt index 9029cae..1c54ea0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(graphs VERSION 0.0.3) +project(graphs VERSION 0.0.4) 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 00a2fcf..033e1d3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -56,6 +56,7 @@ void update(std::int32_t width, std::int32_t height) 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); camera.update(); camera.update_view(global_matrices);