9 constexpr
Size() =
default;
11 constexpr
Size(
const uint32_t width_,
const uint32_t height_) :
width(width_),
height(height_) {
14 constexpr uint32_t
area()
const {
19 return static_cast<float>(
width) /
static_cast<float>(
height);
constexpr uint32_t area() const
constexpr float aspectRatio() const
constexpr Size(const uint32_t width_, const uint32_t height_)
constexpr bool isEmpty() const
constexpr bool operator==(const CameraOptions &a, const CameraOptions &b)
constexpr bool operator!=(const CameraOptions &a, const CameraOptions &b)