fix(norm): remove usage of friend
This commit is contained in:
parent
b4f48cdfb0
commit
dc57ca2395
5 changed files with 15 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue