diff options
| author | David Snopek <dsnopek@gmail.com> | 2024-04-24 14:43:36 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-24 14:43:36 -0500 |
| commit | 61450b3e1beee413f38b586a361e1f9fe6de1492 (patch) | |
| tree | d3fbfd60fae38c11ce925095842b3c1ac87af4cc /include/godot_cpp/variant/vector4.hpp | |
| parent | ad307e4b9ceb2efc40a238c19d37f41def4742d6 (diff) | |
| parent | d38917190503b75b307654f54bf5b44c83d0aea4 (diff) | |
| download | redot-cpp-61450b3e1beee413f38b586a361e1f9fe6de1492.tar.gz | |
Merge pull request #1436 from AThousandShips/math_update
[Math] Add `is_finite` methods
Diffstat (limited to 'include/godot_cpp/variant/vector4.hpp')
| -rw-r--r-- | include/godot_cpp/variant/vector4.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/godot_cpp/variant/vector4.hpp b/include/godot_cpp/variant/vector4.hpp index 26c57c3..b20915a 100644 --- a/include/godot_cpp/variant/vector4.hpp +++ b/include/godot_cpp/variant/vector4.hpp @@ -81,6 +81,7 @@ struct _NO_DISCARD_ Vector4 { _FORCE_INLINE_ real_t length_squared() const; bool is_equal_approx(const Vector4 &p_vec4) const; bool is_zero_approx() const; + bool is_finite() const; real_t length() const; void normalize(); Vector4 normalized() const; |
