Ray casting fully explained. Pseudo 3D game