fix(norm): remove usage of friend

This commit is contained in:
Khaïs COLIN 2025-05-20 13:34:30 +02:00
parent b4f48cdfb0
commit dc57ca2395
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
5 changed files with 15 additions and 9 deletions

View file

@ -15,11 +15,14 @@ public:
Point &operator=(const Point &other);
~Point();
static Fixed triangleArea(Point const &a, Point const &b, Point const &c);
Fixed getX() const;
Fixed getY() const;
friend std::ostream &operator<<(std::ostream &stream, const Point &point);
static Fixed triangleArea(Point const &a, Point const &b, Point const &c);
};
std::ostream &operator<<(std::ostream &stream, const Point &point);
bool bsp(Point const a, Point const b, Point const c, Point const point);
#endif