| 255 | } |
| 256 | |
| 257 | ftype wrap_2PI(const ftype radian) |
| 258 | { |
| 259 | ftype res = fmodF(radian, M_2PI); |
| 260 | if (res < 0) { |
| 261 | res += M_2PI; |
| 262 | } |
| 263 | return res; |
| 264 | } |
| 265 | |
| 266 | template <typename T> |
| 267 | T constrain_value_line(const T amt, const T low, const T high, uint32_t line) |
no outgoing calls