sphere trace by channel in c++

thanks, good fish!