include/Spectre/Math/Vector2.inl: fixing stupid error in one of the scalar compare functions (forgot to use the vector object)
This commit is contained in:
parent
72ee3fbfde
commit
e57f099a3c
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ inline bool operator<=(T s, const Vector2<T>& v)
|
||||||
template <typename T>
|
template <typename T>
|
||||||
inline bool operator>(const Vector2<T>& v, T s)
|
inline bool operator>(const Vector2<T>& v, T s)
|
||||||
{
|
{
|
||||||
return x > s && y > s;
|
return v.x > s && v.y > s;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue