Assignment 6 for graphics