Implement Vector2 functions
This commit is contained in:
@@ -231,5 +231,17 @@ namespace LinearAlgebra {
|
||||
return *this / scalar;
|
||||
}
|
||||
|
||||
bool Vector2::IsFinite(const Vector2 &v) {
|
||||
return v.IsFinite();
|
||||
}
|
||||
|
||||
float Vector2::MinElement() const {
|
||||
return std::min(x, y);
|
||||
}
|
||||
|
||||
float Vector2::MaxElement() const {
|
||||
return std::max(x, y);
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user