Lines Matching refs:rhs
111 self_type& operator += (const self_type& rhs) { (void)VEC3Add(this, this, &rhs); return *this; }
112 self_type& operator -= (const self_type& rhs) { (void)VEC3Sub(this, this, &rhs); return *this; }
113 … self_type& operator *= (const self_type& rhs) { (void)VEC3Mult(this, this, &rhs); return *this; }
121 …self_type operator + (const self_type& rhs) const { VEC3 tmp; (void)VEC3Add(&tmp, this, &rhs); ret…
122 …self_type operator - (const self_type& rhs) const { VEC3 tmp; (void)VEC3Sub(&tmp, this, &rhs); ret…
132 self_type& Lerp(const VEC3& lhs, const VEC3& rhs, f32 t) in Lerp()
134 return *VEC3Lerp(this, &lhs, &rhs, t); in Lerp()
184 self_type& Maximize(const VEC3& lhs, const VEC3& rhs) in Maximize()
186 return *VEC3Maximize(this, &lhs, &rhs); in Maximize()
193 self_type& Minimize(const VEC3& lhs, const VEC3& rhs) in Minimize()
195 return *VEC3Minimize(this, &lhs, &rhs); in Minimize()
202 self_type& Cross(const VEC3& lhs, const VEC3& rhs) in Cross()
204 return *VEC3Cross(this, &lhs, &rhs); in Cross()
225 bool operator == (const self_type& rhs) const { return x == rhs.x && y == rhs.y && z == rhs.z; }
228 bool operator != (const self_type& rhs) const { return x != rhs.x || y != rhs.y || z != rhs.z; }
405 operator * (f32 f, const VEC3& rhs) { VEC3 tmp; (void)VEC3Scale(&tmp, &rhs, f); return tmp; }