Implement Vector2::Abs() and Vector3::Abs()
This commit is contained in:
@@ -31,6 +31,8 @@ namespace J3ML::LinearAlgebra {
|
||||
void SetX(float newX);
|
||||
void SetY(float newY);
|
||||
|
||||
Vector2 Abs() const;
|
||||
|
||||
bool IsWithinMarginOfError(const Vector2& rhs, float margin=0.001f) const;
|
||||
|
||||
bool IsNormalized(float epsilonSq = 1e-5f) const;
|
||||
|
Reference in New Issue
Block a user