I am having difficulty understanding how you convert the x,y,z so it will become x,y. Such code is neccesary in a raytracing proggram.