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

The very first build system for The Nature of Code

Home Page:http://natureofcode.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example 2.1: Forces

aroldo opened this issue · comments

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!

}