Math/Vector2: inline toString()
This commit is contained in:
parent
e888626b03
commit
c0f44016c6
2 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ struct Vector2
|
|||
|
||||
inline Vector2<T>& reflect(const Vector2<T>& n);
|
||||
|
||||
std::string toString() const;
|
||||
inline std::string toString() const;
|
||||
};
|
||||
|
||||
// ------------
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ inline Vector2<T>& Vector2<T>::reflect(const Vector2<T>& n)
|
|||
}
|
||||
|
||||
template <typename T>
|
||||
std::string Vector2<T>::toString() const
|
||||
inline std::string Vector2<T>::toString() const
|
||||
{
|
||||
return core::to_string(x) + ", " + core::to_string(y);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue