Previous | Next --- Slide 50 of 59
Back to Lecture Thumbnails
cube

Could someone explain where the function that calls trace gets the RayPacket rays from, to pass into trace?

Or, is it just the empty packet to start with?

vrkrishn

rays is a collection of rays that need to be traced. It is a parameter to the trace function