From eefca1ada97a6bc5db38936d23da323a78b2044d Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Tue, 26 Jul 2016 17:19:49 +0200 Subject: Prettier str() for some math types --- core/math/vector3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/math/vector3.cpp') 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))+")"; } -- cgit v1.2.3