CSE168: Rendering Algorithms, Homework 3