Implement Vector4::Equals

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

View File

@@ -49,6 +49,9 @@ namespace J3ML::LinearAlgebra {
bool operator==(const Vector4& rhs) const;
bool operator!=(const Vector4& rhs) const;
bool Equals(const Vector4& rhs, float epsilon = 1e-3f) const;
bool Equals(float _x, float _y, float _z, float _w, float epsilon = 1e-3f) const;
Vector4 Min(const Vector4& min) const;
Vector4 Max(const Vector4& max) const;
Vector4 Clamp(const Vector4& min, const Vector4& max) const;