Math::Point struct

Represents a point in the space, defined by two float coordinates (x, y).

Constructors, destructors, conversion operators

Point(float x, float y)
Point(const Point& other)
Point(const Vector2& other)
Point()

Public functions

auto operator+=(const Point&) -> Point&
POINT.
auto operator+=(float) -> Point&
auto operator-=(const Point&) -> Point&
auto operator-=(float) -> Point&
auto operator*=(float) -> Point&
auto operator/=(float) -> Point&
auto operator==(const Point& b) const -> bool
auto operator!=(const Point& b) const -> bool

Public variables

float x
float y