Comment on Revisiting the Business Card RaytracerComments−rwmj6yIs there a mistake in the original code on the right hand side? I get: card.cpp:16:2: error: ‘g’ was not declared in this scope 16 | <g;p)t=p,n=v(0,0,1),m=1;for(i k=19;k--;) | ^ Edit: Yes there is. The ‘<g;’ seems like it should have been the single character ‘<’, perhaps a corrupted HTML escape.−a_e_k6y(Original author of this code[0] here.) Yes, that looks like a corrupted copy. The line should be: <p)t=p,n=v(0,0,1),m=1;for(i k=19;k--;) [0] http://www.cs.utah.edu/~aek/code/card.cpp−joeraut6yYep, I got the same error. The version here [0] works fine.[0] https://fabiensanglard.net/postcard_pathtracer/
Comments
Is there a mistake in the original code on the right hand side? I get:
Edit: Yes there is. The ‘<g;’ seems like it should have been the single character ‘<’, perhaps a corrupted HTML escape.(Original author of this code[0] here.) Yes, that looks like a corrupted copy. The line should be:
[0] http://www.cs.utah.edu/~aek/code/card.cppYep, I got the same error. The version here [0] works fine.
[0] https://fabiensanglard.net/postcard_pathtracer/