diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-11-25 13:22:33 -0600 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-25 13:22:33 -0600 |
commit | 9b5c7e9efaae1f5ac9a92e9acd096ff5c89bdfa5 (patch) | |
tree | 5999fca771dc8bc8c4d851e959c9c165775f60d0 /core/math/vector4.cpp | |
parent | 0d88737a9f51a88645686c607dd76e8c9d183500 (diff) | |
parent | e210313045cc4de77c654f7cabf4c810c957f3fe (diff) | |
download | redot-engine-9b5c7e9efaae1f5ac9a92e9acd096ff5c89bdfa5.tar.gz |
Merge pull request #99545 from KoBeWi/Vector4.0
Fix stringification of Vector4
Diffstat (limited to 'core/math/vector4.cpp')
-rw-r--r-- | core/math/vector4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/vector4.cpp b/core/math/vector4.cpp index b6b914f36d..8ac2c4bf1f 100644 --- a/core/math/vector4.cpp +++ b/core/math/vector4.cpp @@ -213,7 +213,7 @@ Vector4 Vector4::clampf(real_t p_min, real_t p_max) const { } Vector4::operator String() const { - return "(" + String::num_real(x, false) + ", " + String::num_real(y, false) + ", " + String::num_real(z, false) + ", " + String::num_real(w, false) + ")"; + return "(" + String::num_real(x, true) + ", " + String::num_real(y, true) + ", " + String::num_real(z, true) + ", " + String::num_real(w, true) + ")"; } static_assert(sizeof(Vector4) == 4 * sizeof(real_t)); |