Use idlib/math code from D3:BFG, except for SIMD code used by renderer and sound.