Homework 3 for Computer Graphics