** converting a float to a rounded integer? It's worth
** looking into at some point... */
// return static_cast<int>(x+0.5f); // <-- (a) fast, but rounds -1.333 to 0!
** converting a float to a rounded integer? It's worth
** looking into at some point... */
// return static_cast<int>(x+0.5f); // <-- (a) fast, but rounds -1.333 to 0!