Computer Science 112
The Art & Science of Computer Graphics

Spring 2013, The College of Saint Rose

Lecture 19: Advanced Programmed Replication
Date: Thursday, April 4, 2013


Agenda

Lecture Assignment 19

Due at the start of class, Tuesday, April 9.

Please submit answers to these questions either as a hard copy (typeset or handwritten are OK) or by email to terescoj AT strose.edu by the start of class. Please use a clear subject line when submitting by email (e.g., CSC 112 Lecture Assignment 19, Joe Student). We will discuss these questions at the start of class, so no late submissions are accepted.

Add one more type of "grain" to the SpiceMix example. This will involve defining another object type to represent some new spice, and adding that object to the list that is passed as the first parameter of the call to addSpices. (6 points)

Examples