Small leaf helpers used by the solvers below. They are kept local to this translation unit so the public header stays focused on reusable math helpers and type declarations.
| 248 | // translation unit so the public header stays focused on reusable math helpers |
| 249 | // and type declarations. |
| 250 | static float max3f(float a, float b, float c) FL_NOEXCEPT { |
| 251 | return fl::max(fl::max(a, b), c); |
| 252 | } |
| 253 | |
| 254 | static void zero4(float out[4]) FL_NOEXCEPT { |
| 255 | out[0] = out[1] = out[2] = out[3] = 0.0f; |
no test coverage detected