Lines Matching refs:this
99 self_type& operator += (const self_type& rhs) { x += rhs.x; y += rhs.y; return *this; }
100 self_type& operator -= (const self_type& rhs) { x -= rhs.x; y -= rhs.y; return *this; }
101 self_type& operator *= (const self_type& rhs) { x *= rhs.x; y *= rhs.y; return *this; }
102 self_type& operator *= (f32 f) { x *= f; y *= f; return *this; }
103 self_type& operator /= (f32 f) { f32 r = 1.f / f; x *= r; y *= r; return *this; }
105 self_type operator + () const { return *this; }
121 return *VEC2Lerp(this, &lhs, &rhs, t); in Lerp()
130 return VEC2Dot(this, &vec); in Dot()
140 f32 Length() const { return FSqrt(this->x * this->x + this->y * this->y); } in Length()
145 return *VEC2Normalize(this, this); in Normalize()
154 return *VEC2SafeNormalize(this, this, alt); in SafeNormalize()
162 return VEC2DistSq(this, &vec); in DistanceSquare()
171 return *VEC2Maximize(this, &lhs, &rhs); in Maximize()
180 return *VEC2Minimize(this, &lhs, &rhs); in Minimize()
205 bool IsZero() const { return VEC2IsZero(this); } in IsZero()