make struct

main
Brett 2025-03-18 21:15:22 -04:00
parent 8f34ba17dc
commit 66e764be6b
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.25)
include(FetchContent)
set(BLT_GRAPHICS_VERSION 2.0.0)
set(BLT_GRAPHICS_VERSION 2.0.1)
set(BLT_GRAPHICS_TEST_VERSION 0.0.1)
project(BLT_WITH_GRAPHICS VERSION ${BLT_GRAPHICS_VERSION})

View File

@ -105,7 +105,7 @@ namespace blt::gfx
std::vector<line2d_t> lines;
};
class curve2d_t
struct curve2d_t
{
public:
curve2d_t(vec2 p0, vec2 p1, vec2 p2);
@ -117,7 +117,6 @@ namespace blt::gfx
[[nodiscard]] curve2d_mesh_data_t to_mesh(i32 segments, f32 thickness = 1.0) const;
private:
vec2 m_p0, m_p1, m_p2, m_p3;
};