HW0

Final Version

For this assignment, most of the difficulties I encountered were taking input from the user (mouse clicks and the mouse being dragged) and converting this into information that would be useful for the program. This was particularly challenging for the rotatation section of the program. I initially set the rotation angle manually, and was able to rotate the square correctly in this way, but it was difficult to convert the user's mouse behavior into angles the program could use.


In short, rotation was the hardest (as we were warned).


Video demo HERE (Google Drive link). Executable HERE (Google Drive link) compiled on Mac. Code below.



HW0

Check-in

A square! It can be translated.

Loading the brick.ppm texture onto the square. Executable here (Google Drive link) compiled on Mac. Code below.