10#include "../utility/utility.hpp"
11#include "../macros.hpp"
14hi_export_module(hikogui.geometry :
axis);
16hi_export
namespace hi {
24enum class axis :
unsigned char {
39[[nodiscard]]
constexpr axis operator&(
axis const &lhs,
axis const &rhs)
noexcept
41 return static_cast<axis>(
static_cast<unsigned char>(lhs) &
static_cast<unsigned char>(rhs));
47[[nodiscard]]
constexpr axis operator|(
axis const &lhs,
axis const &rhs)
noexcept
49 return static_cast<axis>(
static_cast<unsigned char>(lhs) |
static_cast<unsigned char>(rhs));
55[[nodiscard]]
constexpr bool to_bool(
axis const& rhs)
noexcept
57 return to_bool(
static_cast<unsigned char>(rhs));
axis
An enumeration of the 3 axis for 3D geometry.
Definition axis.hpp:24
The HikoGUI namespace.
Definition array_generic.hpp:20
DOXYGEN BUG.
Definition algorithm_misc.hpp:20