diff options
| author | Johannes Sinander <johsi@protonmail.com> | 2022-09-18 11:06:17 +0200 |
|---|---|---|
| committer | Johannes Sinander <johsi@protonmail.com> | 2022-09-18 11:27:49 +0200 |
| commit | e7372cbe852349e72cf52043bbb2d1e672ea3ea0 (patch) | |
| tree | b95a5a66fb0087e7483174a1f5ed4dc7c8bfdc36 /include | |
| parent | 3276688c825308199e8be6f6e7f9e90822d50643 (diff) | |
| download | redot-cpp-e7372cbe852349e72cf52043bbb2d1e672ea3ea0.tar.gz | |
Add missing Vector4 function bindings
Diffstat (limited to 'include')
| -rw-r--r-- | include/godot_cpp/variant/vector4.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/godot_cpp/variant/vector4.hpp b/include/godot_cpp/variant/vector4.hpp index c9fb20b..4ad3eec 100644 --- a/include/godot_cpp/variant/vector4.hpp +++ b/include/godot_cpp/variant/vector4.hpp @@ -75,12 +75,16 @@ public: bool is_normalized() const; Vector4 abs() const; Vector4 sign() const; + Vector4 floor() const; + Vector4 ceil() const; + Vector4 round() const; Vector4::Axis min_axis_index() const; Vector4::Axis max_axis_index() const; Vector4 clamp(const Vector4 &p_min, const Vector4 &p_max) const; Vector4 inverse() const; + Vector4 lerp(const Vector4 &p_to, const real_t p_weight) const; _FORCE_INLINE_ real_t dot(const Vector4 &p_vec4) const; _FORCE_INLINE_ void operator+=(const Vector4 &p_vec4); |
