2 #ifndef RADIX_RECTANGLE_HPP
3 #define RADIX_RECTANGLE_HPP
16 x(x), y(y), w(w), h(h) {}
18 constexpr
void set(T x, T y, T w, T h) {
26 return w == 0 and h == 0;
Definition: GameController.hpp:7
constexpr bool operator==(const Rectangle< T > &o) const
Definition: Rectangle.hpp:30
Definition: Rectangle.hpp:10
T y
Definition: Rectangle.hpp:11
T h
Definition: Rectangle.hpp:11
constexpr bool operator!=(const Rectangle< T > &o) const
Definition: Rectangle.hpp:36
constexpr Rectangle(T x, T y, T w, T h)
Definition: Rectangle.hpp:15
constexpr void set(T x, T y, T w, T h)
Definition: Rectangle.hpp:18
constexpr bool hasZeroArea() const
Definition: Rectangle.hpp:25
constexpr Rectangle()
Definition: Rectangle.hpp:14
T x
Definition: Rectangle.hpp:11
T w
Definition: Rectangle.hpp:11