1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-26 15:46:23 +00:00

Prettier str() for some math types

This commit is contained in:
Ignacio Etcheverry
2016-07-26 17:19:49 +02:00
parent 6273ec901f
commit eefca1ada9
5 changed files with 17 additions and 10 deletions

View File

@@ -658,5 +658,5 @@ Matrix32 Matrix32::interpolate_with(const Matrix32& p_transform, float p_c) cons
Matrix32::operator String() const {
return String(String()+elements[0]+", "+elements[1]+", "+elements[2]);
return "("+String(String()+elements[0]+", "+elements[1]+", "+elements[2])+")";
}