diff options
author | ASP1234 | 2016-06-23 11:28:01 +0000 |
---|---|---|
committer | ASP1234 | 2016-06-23 11:28:01 +0000 |
commit | d8b0cfac9a71a9c2628c84505cf0f962f3c08f36 (patch) | |
tree | 6b466248f83bb6c97d048ee9013e90d913ff7583 /data_structures_correct/BOUNCE.js | |
parent | ed3eff9c841637a2aa44f86f1612a315ee423d31 (diff) | |
download | xcos-on-web-d8b0cfac9a71a9c2628c84505cf0f962f3c08f36.tar.gz xcos-on-web-d8b0cfac9a71a9c2628c84505cf0f962f3c08f36.tar.bz2 xcos-on-web-d8b0cfac9a71a9c2628c84505cf0f962f3c08f36.zip |
Beautify js files in DS
Diffstat (limited to 'data_structures_correct/BOUNCE.js')
-rw-r--r-- | data_structures_correct/BOUNCE.js | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/data_structures_correct/BOUNCE.js b/data_structures_correct/BOUNCE.js index 4142430..e63b241 100644 --- a/data_structures_correct/BOUNCE.js +++ b/data_structures_correct/BOUNCE.js @@ -15,28 +15,11 @@ function BOUNCE() { } } - this.walls = [ - [0], - [5], - [0], - [5] - ]; - this.x1 = [ - [2], - [2.5] - ]; - this.xd = [ - [0], - [0] - ]; - this.y1 = [ - [3], - [5] - ]; - this.yd = [ - [0], - [0] - ]; + this.walls = [[0],[5],[0],[5]]; + this.x1 = [[2],[2.5]]; + this.xd = [[0],[0]]; + this.y1 = [[3],[5]]; + this.yd = [[0],[0]]; this.g = 9.81; this.C = 0; this.rpar1 = ones(this.n, 1); |