add ray and sphere for intersection