MelinkJL/HW01 — pull request #1 by CaryWillard (2012-09-06 20:33:05+00:00)
Title: Code Review Pull Request

Hi! I made three changes:

Removed line 268 "pixelArray = (*mySurface).getData();". "pixelArray"
only needs to be initialized once because it is a pointer looking at
*mySurface.

Removed line 225 "clear(pixelArray);" from setup(). This method does
not need to be called because the gradient fulfills the same purpose.

Modified mouseDown so that the method only changes the color of the sun
when the user clicks in the circular area of the sun, not just inside of
a square centered on the sun.