Rewrote game_math.hpp