| 57 | // ---- Access ------------------------------------------------------------ |
| 58 | |
| 59 | constexpr i16 raw() const FL_NOEXCEPT { return mValue; } |
| 60 | constexpr i16 to_int() const FL_NOEXCEPT { return mValue >> FRAC_BITS; } |
| 61 | constexpr float to_float() const FL_NOEXCEPT { return static_cast<float>(mValue) / (static_cast<i16>(1) << FRAC_BITS); } |
| 62 |