From fe12c99159706688925b57ed24b61f651825e117 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Fri, 19 Apr 2024 14:43:00 +0200 Subject: [PATCH] Fix Spherical reference --- Polar.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Polar.h b/Polar.h index fa6c287..78d2b69 100644 --- a/Polar.h +++ b/Polar.h @@ -7,6 +7,10 @@ struct Vector2; +namespace Passer { + +struct Spherical; + /// /// A polar vector /// @@ -37,6 +41,7 @@ public: Polar(float angle, float distance); Polar(Vector2 v); + Polar(Spherical s); /// @@ -99,7 +104,8 @@ public: /// The rotated vector static Polar Rotate(Polar v, float angle); }; - +} // namespace Passer +#include "Spherical.h" #include "Vector2.h" #endif \ No newline at end of file