You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In vec3.h file, the the << and >> are overloaded for take vector element from standard input, and to print it, but never used in anywhere. I'm not sure it's a problem but it simply isn't necessary.
The text was updated successfully, but these errors were encountered:
Ooh, that's a good point. The current code conflates vectors and colors, and in main.cc does the same operations to print out the pixel color (with an additional newline).
I think the operator<< is the way to go, but your point stands either way — we need to do one or the other.
In vec3.h file, the the
<<
and>>
are overloaded for take vector element from standard input, and to print it, but never used in anywhere. I'm not sure it's a problem but it simply isn't necessary.The text was updated successfully, but these errors were encountered: