Introduction to 3d game engine design using directx 9 and c