29 #ifndef THOR_TOSTRING_HPP
30 #define THOR_TOSTRING_HPP
37 #include <Aurora/Tools/Exceptions.hpp>
70 std::string THOR_API
toString(
const sf::Color& color);
75 std::string
toString(
const sf::Vector2<T>& vector);
80 std::string
toString(
const sf::Vector3<T>& vector);
103 : aurora::Exception(message)
112 #include <Thor/Graphics/Detail/ToString.inl>
113 #endif // THOR_TOSTRING_HPP
Distribution< sf::Vector2f > rect(sf::Vector2f center, sf::Vector2f halfSize)
Uniform random distribution in a rectangle
StringConversionException(const std::string &message)
Constructor.
Definition: ToString.hpp:102
Definition: Animator.hpp:42
Configuration header of the library.
Definition: BigSprite.hpp:41
Exception class for failed string conversions.
Definition: ToString.hpp:95
Vector in polar coordinate system.
Definition: ToString.hpp:63
std::string toString(const PolarVector2< T > &vector)
Returns the string representation of thor::PolarVector.