Make is_equal_approx separate for structures
This commit adds exposed behavior for C#
This commit is contained in:
parent
1fed266bf5
commit
86922ff70b
31 changed files with 118 additions and 16 deletions
|
|
@ -92,6 +92,8 @@ struct Vector2 {
|
|||
Vector2 bounce(const Vector2 &p_normal) const;
|
||||
Vector2 reflect(const Vector2 &p_normal) const;
|
||||
|
||||
bool is_equal_approx(const Vector2 &p_v) const;
|
||||
|
||||
Vector2 operator+(const Vector2 &p_v) const;
|
||||
void operator+=(const Vector2 &p_v);
|
||||
Vector2 operator-(const Vector2 &p_v) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue