A (very basic) raycasting engine for iOS