Lines Matching refs:this
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; }
267 self_type& operator *= (f32 f) { x *= f; y *= f; return *this; }
270 self_type& operator *= (const self_type& rhs) { x *= rhs.x; y *= rhs.y; return *this; }
273 self_type& operator /= (f32 f) { f32 r = 1.f / f; x *= r; y *= r; return *this; }
276 self_type operator + () const { return *this; }
301 return *VEC2Lerp(this, &lhs, &rhs, t); in Lerp()
310 return VEC2Dot(this, &vec); in Dot()
320 f32 Length() const { return FSqrt(this->x * this->x + this->y * this->y); } in Length()
325 return *VEC2Normalize(this, this); in Normalize()
334 return *VEC2SafeNormalize(this, this, alt); in SafeNormalize()
342 return VEC2DistSq(this, &vec); in DistanceSquare()
351 return *VEC2Maximize(this, &lhs, &rhs); in Maximize()
360 return *VEC2Minimize(this, &lhs, &rhs); in Minimize()
385 bool IsZero() const { return VEC2IsZero(this); } in IsZero()