nature-of-code / The-Nature-of-Code-archive

The very first build system for The Nature of Code
http://natureofcode.com
913 stars 151 forks source link

Example 2.1: Forces #333

Closed aroldo closed 11 years ago

aroldo commented 11 years ago

Hello Daniel,

I am enjoying your book!

On Example 2.1, void update() {

velocity.add(acceleration); //Motion 101 from Chapter 1
location.add(velocity);

acceleration.mult(0);//Now add clearing the acceleration each time!

}