Fix Spherical reference
This commit is contained in:
parent
c274c3eac9
commit
fe12c99159
8
Polar.h
8
Polar.h
@ -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
|
Loading…
x
Reference in New Issue
Block a user