vectorized ray-tracing operation.