summaryrefslogtreecommitdiffstats
path: root/core/math/vector3.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2016-07-26 17:19:49 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2016-07-27 17:00:07 +0200
commiteefca1ada97a6bc5db38936d23da323a78b2044d (patch)
tree87d01d1fc9cc5a7ba2d11618bc99e751247be8e5 /core/math/vector3.cpp
parent6273ec901faec2823c8f4801244d1cffbbe9b118 (diff)
downloadredot-engine-eefca1ada97a6bc5db38936d23da323a78b2044d.tar.gz
Prettier str() for some math types
Diffstat (limited to 'core/math/vector3.cpp')
-rw-r--r--core/math/vector3.cpp2
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))+")";
}