You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Prettier str() for some math types
This commit is contained in:
@@ -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))+")";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user