Fix Spherical reference

This commit is contained in:
Pascal Serrarens 2024-04-19 14:43:00 +02:00
parent c274c3eac9
commit fe12c99159

View File

@ -7,6 +7,10 @@
struct Vector2; struct Vector2;
namespace Passer {
struct Spherical;
/// <summary> /// <summary>
/// A polar vector /// A polar vector
/// </summary> /// </summary>
@ -37,6 +41,7 @@ public:
Polar(float angle, float distance); Polar(float angle, float distance);
Polar(Vector2 v); Polar(Vector2 v);
Polar(Spherical s); Polar(Spherical s);
/// <summary> /// <summary>
@ -99,7 +104,8 @@ public:
/// <returns>The rotated vector</returns> /// <returns>The rotated vector</returns>
static Polar Rotate(Polar v, float angle); static Polar Rotate(Polar v, float angle);
}; };
} // namespace Passer
#include "Spherical.h"
#include "Vector2.h" #include "Vector2.h"
#endif #endif