https://9pdf.net/document/yng6kork-realtime-d-graphics-programming-using-the-quake-engine.html