Ray-traycing for GPU. Detecting intersection for axis aligned box.