Update ray2.c