update to raycaster to accept a src ray in constructor