Lines Matching refs:rhs
88 Matrix operator*(const Matrix& lhs, const Matrix& rhs);
89 bool operator==(const Matrix& lhs, const Matrix& rhs);
154 static inline bool operator!=(const Matrix& lhs, const Matrix& rhs)
156 return !(lhs == rhs);
160 static inline void operator*=(Matrix& lhs, const Matrix& rhs)
162 lhs = lhs * rhs;
180 static inline float cross(const Point& lhs, const Point& rhs) in cross() argument
182 return lhs.x * rhs.y - rhs.x * lhs.y; in cross()
210 static inline bool operator==(const Point& lhs, const Point& rhs)
212 return tvg::equal(lhs.x, rhs.x) && tvg::equal(lhs.y, rhs.y);
216 static inline bool operator!=(const Point& lhs, const Point& rhs)
218 return !(lhs == rhs);
222 static inline Point operator-(const Point& lhs, const Point& rhs)
224 return {lhs.x - rhs.x, lhs.y - rhs.y};
228 static inline Point operator+(const Point& lhs, const Point& rhs)
230 return {lhs.x + rhs.x, lhs.y + rhs.y};
234 static inline Point operator*(const Point& lhs, float rhs)
236 return {lhs.x * rhs, lhs.y * rhs};
240 static inline Point operator*(const float& lhs, const Point& rhs)
242 return {lhs * rhs.x, lhs * rhs.y};
246 static inline Point operator/(const Point& lhs, const float rhs)
248 return {lhs.x / rhs, lhs.y / rhs};