diff options
| author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2016-07-26 17:19:49 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2016-07-27 17:00:07 +0200 |
| commit | eefca1ada97a6bc5db38936d23da323a78b2044d (patch) | |
| tree | 87d01d1fc9cc5a7ba2d11618bc99e751247be8e5 /core/math/vector3.cpp | |
| parent | 6273ec901faec2823c8f4801244d1cffbbe9b118 (diff) | |
| download | redot-engine-eefca1ada97a6bc5db38936d23da323a78b2044d.tar.gz | |
Prettier str() for some math types
Diffstat (limited to 'core/math/vector3.cpp')
| -rw-r--r-- | core/math/vector3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/vector3.cpp b/core/math/vector3.cpp index 8afd73f482..8a0a6e963d 100644 --- a/core/math/vector3.cpp +++ b/core/math/vector3.cpp @@ -182,5 +182,5 @@ Vector3 Vector3::cubic_interpolate(const Vector3& p_b,const Vector3& p_pre_a, co # endif Vector3::operator String() const { - return (rtos(x)+", "+rtos(y)+", "+rtos(z)); + return "("+(rtos(x)+", "+rtos(y)+", "+rtos(z))+")"; } |
