mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #97553 from AThousandShips/semantic_equal
[Core] Add `is_same` to types that have float components
This commit is contained in:
@@ -128,6 +128,7 @@ struct [[nodiscard]] Vector2 {
|
||||
Vector2 reflect(const Vector2 &p_normal) const;
|
||||
|
||||
bool is_equal_approx(const Vector2 &p_v) const;
|
||||
bool is_same(const Vector2 &p_v) const;
|
||||
bool is_zero_approx() const;
|
||||
bool is_finite() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user