diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-22 20:12:59 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-22 20:12:59 +0000 |
commit | 838e5f77478e5648769439e191e3ff0a8e6405ab (patch) | |
tree | e42961851585d6cc519247671bb3bad8ca9453a3 /utility/maths.h | |
parent | Arc stream operator is inline, say so (diff) | |
download | ilt-838e5f77478e5648769439e191e3ff0a8e6405ab.tar.bz2 ilt-838e5f77478e5648769439e191e3ff0a8e6405ab.tar.xz ilt-838e5f77478e5648769439e191e3ff0a8e6405ab.zip |
Add meandering support
Add rail links between existing nodes and arbitrary points
Diffstat (limited to 'utility/maths.h')
-rw-r--r-- | utility/maths.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<glm::vec2, bool> find_arc_centre(glm::vec2 start, float entrys, glm::vec2 end, float entrye); + #endif |