Minor fixes

This commit is contained in:
Jérôme Leclercq
2021-11-28 20:19:37 +01:00
parent 0c3bcf6c86
commit 01cd4986cc
20 changed files with 112 additions and 88 deletions

View File

@@ -15,7 +15,7 @@ namespace Nz
{
/*!
* \ingroup math
* \class Nz::Vector2
* \class Vector2
* \brief Math class that represents an element of the two dimensional vector space
*/
@@ -443,10 +443,7 @@ namespace Nz
template<typename T>
std::string Vector2<T>::ToString() const
{
std::ostringstream ss;
ss << *this;
return ss.str();
return "Vector2(" + std::to_string(x) + ", " + std::to_string(y) + ')';
}
/*!