nxt::ratio_t struct

Dimensionless flex or scale ratio.

Public functions

auto operator+=(ratio_t other) →  ratio_t& constexpr noexcept
auto value() const →  double constexpr noexcept
Return the raw ratio.

Public variables

double v
Raw ratio value.

Friends

auto operator<=>(ratio_t, ratio_t) →  auto defaulted constexpr noexcept
auto operator==(ratio_t, ratio_t) →  bool defaulted constexpr noexcept