Math/Vector3: Fix ToString()
This commit is contained in:
parent
8f1cc79dc2
commit
a1b5e5b4f4
|
|
@ -7,7 +7,6 @@
|
||||||
#include <Nazara/Math/Algorithm.hpp>
|
#include <Nazara/Math/Algorithm.hpp>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <sstream>
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <Nazara/Core/Debug.hpp>
|
#include <Nazara/Core/Debug.hpp>
|
||||||
|
|
||||||
|
|
@ -576,10 +575,7 @@ namespace Nz
|
||||||
template<typename T>
|
template<typename T>
|
||||||
std::string Vector3<T>::ToString() const
|
std::string Vector3<T>::ToString() const
|
||||||
{
|
{
|
||||||
std::ostringstream ss;
|
return "Vector3(" + std::to_string(x) + ", " + std::to_string(y) + ", " + std::to_string(z) + ')';
|
||||||
ss << *this;
|
|
||||||
|
|
||||||
return ss.str();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue