From 838e5f77478e5648769439e191e3ff0a8e6405ab Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 22 Feb 2021 20:12:59 +0000 Subject: Add meandering support Add rail links between existing nodes and arbitrary points --- utility/maths.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utility/maths.h') diff --git a/utility/maths.h b/utility/maths.h index f2114ef..996708f 100644 --- a/utility/maths.h +++ b/utility/maths.h @@ -47,4 +47,6 @@ arc_length(const Arc & arc) float normalize(float ang); +std::pair find_arc_centre(glm::vec2 start, float entrys, glm::vec2 end, float entrye); + #endif -- cgit v1.2.3