mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Prettier str() for some math types
This commit is contained in:
parent
6273ec901f
commit
eefca1ada9
5 changed files with 17 additions and 10 deletions
|
|
@ -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))+")";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue