In main.cpp, we make the following call on line 52
write_ppm("rotated.ppm",rotated,height,width,3);
This violates the specifications of write_ppm, as height and width are swapped, and was leading me to get some very warped-looking output. Am I allowed to edit main.cpp to fix this?
Hi,
In
main.cpp
, we make the following call on line 52write_ppm("rotated.ppm",rotated,height,width,3);
This violates the specifications of
write_ppm
, as height and width are swapped, and was leading me to get some very warped-looking output. Am I allowed to editmain.cpp
to fix this?