A math lib for 3d game