39Point::Point(
const float x_val,
const float y_val) : x(x_val), y(y_val) {}
Header file for the Point class representing a 2D point with Fixed coordinates.
Fixed getY() const
Gets the y-coordinate of the point.
Fixed getX() const
Gets the x-coordinate of the point.
Point()
Default constructor.
Point & operator=(const Point &other)
Copy assignment operator.