In example 7-5 (Zoog with functions), a line of code is commented out by accident: Incorrect
// mouseX position determines speed factor for moveZoog function  
// float factor = constrain(mouseX/10,0,5);
jiggleZoog(factor);
Correct
// mouseX position determines speed factor for moveZoog function  
float factor = constrain(mouseX/10,0,5);
jiggleZoog(factor);


»

No comments yet.

Leave a comment