Added ray-intersection mess.