GameDev related math helpers.