mirror of
https://github.com/godotengine/godot.git
synced 2026-02-07 19:32:36 +00:00
Add is_zero_approx methods to Vector2, 3, and 4
This commit is contained in:
@@ -73,6 +73,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;
|
||||
real_t length() const;
|
||||
void normalize();
|
||||
Vector4 normalized() const;
|
||||
|
||||
Reference in New Issue
Block a user