Note that the pbrt-v3 code is the updated code corresponding to the soon-to-be-released 3rd edition of the book, but the book available in bookstores is still the 2nd ed. If you like me plan on buying the book soon, you probably want to wait just a little while for 3rd ed which is due any time now.