basic 3d ray casting | ScratchStats