Implement Vector3::Equals

This commit is contained in:
2024-03-21 20:43:07 -04:00
parent 06bb959e3f
commit 4085a1700c
2 changed files with 16 additions and 0 deletions

View File

@@ -162,6 +162,10 @@ public:
/// Unary - operator (Negation)
Vector3 operator-() const;
bool Equals(const Vector3& rhs, float epsilon = 1e-3f) const;
bool Equals(float _x, float _y, float _z, float epsilon = 1e-3f) const;
Vector3 &operator =(const Vector3& rhs);
Vector3& operator+=(const Vector3& rhs);
Vector3& operator-=(const Vector3& rhs);