diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-27 20:07:18 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-27 20:07:18 +0000 |
commit | 491cdb55efed10a31be0d21ede5bbfe289fb83ca (patch) | |
tree | 5cb85e20f00f9c65db6778c05597845558f0c154 /utility/maths.h | |
parent | Operator! to convert vec3 to vec2 (diff) | |
download | ilt-491cdb55efed10a31be0d21ede5bbfe289fb83ca.tar.bz2 ilt-491cdb55efed10a31be0d21ede5bbfe289fb83ca.tar.xz ilt-491cdb55efed10a31be0d21ede5bbfe289fb83ca.zip |
find_arc_centre given vectors
Diffstat (limited to 'utility/maths.h')
-rw-r--r-- | utility/maths.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utility/maths.h b/utility/maths.h index 47b95a3..2ce5d94 100644 --- a/utility/maths.h +++ b/utility/maths.h @@ -54,5 +54,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); +std::pair<glm::vec2, bool> find_arc_centre(glm::vec2 start, glm::vec2 ad, glm::vec2 end, glm::vec2 bd); #endif |