29 #ifndef THOR_POLARVECTOR2_HPP
30 #define THOR_POLARVECTOR2_HPP
66 operator sf::Vector2<T> ()
const;
89 #include <Thor/Vectors/Detail/PolarVector2.inl>
90 #endif // THOR_POLARVECTOR2_HPP
T polarAngle(const sf::Vector2< T > &vector)
Returns the polar angle.
Algebraic operations on two-dimensional vectors (dot product, vector length and angles, ...)
Definition: AnimationMap.hpp:42
Class template thor::TrigonometricTraits and some trigonometry-related functions and constants...
T phi
Angle in degrees.
Definition: PolarVector2.hpp:48
T r
Radius.
Definition: PolarVector2.hpp:47
PolarVector2< float > PolarVector2f
Type definition for float polar vectors.
Definition: PolarVector2.hpp:71
T length(const sf::Vector2< T > &vector)
Returns the length of the 2D vector.
PolarVector2()
Default constructor.
Vector in polar coordinate system.
Definition: ToString.hpp:63