Lines Matching refs:rhs
261 self_type& operator += (const self_type& rhs) { x += rhs.x; y += rhs.y; return *this; }
264 self_type& operator -= (const self_type& rhs) { x -= rhs.x; y -= rhs.y; return *this; }
270 self_type& operator *= (const self_type& rhs) { x *= rhs.x; y *= rhs.y; return *this; }
282 self_type operator + (const self_type& rhs) const { return self_type(x + rhs.x, y + rhs.y); }
285 self_type operator - (const self_type& rhs) const { return self_type(x - rhs.x, y - rhs.y); }
299 self_type& Lerp(const VEC2& lhs, const VEC2& rhs, f32 t) in Lerp() argument
301 return *VEC2Lerp(this, &lhs, &rhs, t); in Lerp()
349 self_type& Maximize(const VEC2& lhs, const VEC2& rhs) in Maximize() argument
351 return *VEC2Maximize(this, &lhs, &rhs); in Maximize()
358 self_type& Minimize(const VEC2& lhs, const VEC2& rhs) in Minimize() argument
360 return *VEC2Minimize(this, &lhs, &rhs); in Minimize()
379 bool operator == (const self_type& rhs) const { return x == rhs.x && y == rhs.y; }
382 bool operator != (const self_type& rhs) const { return x != rhs.x || y != rhs.y; }
482 operator * (f32 f, const VEC2& rhs) { return VEC2(f * rhs.x, f * rhs.y); }