From a117836ed6bbbc750830a96647da88d5506e69f8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 14 Feb 2021 13:06:50 +0000 Subject: Construct an Arc from three points --- utility/maths.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utility/maths.h') diff --git a/utility/maths.h b/utility/maths.h index 31f5960..572268a 100644 --- a/utility/maths.h +++ b/utility/maths.h @@ -8,6 +8,8 @@ struct Arc : public std::pair { using std::pair::pair; + Arc(const glm::vec3 & centre3, const glm::vec3 & e0p, const glm::vec3 & e1p); + float operator[](unsigned int i) const { @@ -44,6 +46,4 @@ arc_length(const Arc & arc) float normalize(float ang); -Arc create_arc(const glm::vec3 & centre3, const glm::vec3 & e0p, const glm::vec3 & e1p); - #endif -- cgit v1.2.3