include/Spectre/Math/Vector2.inl: less than or equal operator should be written as "<=" not "=<"
This commit is contained in:
parent
482ce62023
commit
0c76494939
1 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ inline bool operator<(const Vector2<T>& a, const Vector2<T>& b)
|
|||
template<typename T>
|
||||
inline bool operator<=(const Vector2<T>& a, const Vector2<T>& b)
|
||||
{
|
||||
return a.x =< b.x && a.y <= b.y;
|
||||
return a.x <= b.x && a.y <= b.y;
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
|
@ -294,7 +294,7 @@ inline bool operator>(T s, const Vector2<T>& v)
|
|||
}
|
||||
|
||||
template <typename T>
|
||||
inline bool operator>=(const Vector2<T>& v, T s)
|
||||
inline bool operator>=(const Vector2<T>& v, T s)
|
||||
{
|
||||
return v.x >= s && v.y >= s;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue