diff options
author | Sunil Shetye | 2018-07-06 10:38:38 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-09 12:16:25 +0530 |
commit | 5a28e41a3105338f747b8a30f67000920490c67d (patch) | |
tree | e55c568d243ea8e0ec539f0df20cefbc3e42f3ef /js/Misc/BOUNCE.js | |
parent | 200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad (diff) | |
download | sci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.gz sci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.bz2 sci2js-5a28e41a3105338f747b8a30f67000920490c67d.zip |
make string as the default type
Diffstat (limited to 'js/Misc/BOUNCE.js')
-rw-r--r-- | js/Misc/BOUNCE.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/js/Misc/BOUNCE.js b/js/Misc/BOUNCE.js index 885efde8..75550541 100644 --- a/js/Misc/BOUNCE.js +++ b/js/Misc/BOUNCE.js @@ -56,15 +56,15 @@ function BOUNCE() { return options; } BOUNCE.prototype.set = function BOUNCE() { - this.rpar1 = parseFloat((arguments[0]["rpar1"])) - this.rpar2 = parseFloat((arguments[0]["rpar2"])) - this.walls = inverse((arguments[0]["walls"])) - this.xt = inverse((arguments[0]["xt"])) - this.xd = inverse((arguments[0]["xd"])) - this.y = inverse((arguments[0]["y"])) - this.yd = inverse((arguments[0]["yd"])) - this.g = parseFloat((arguments[0]["g"])) - this.C = parseFloat((arguments[0]["C"])) + this.rpar1 = parseFloat(arguments[0]["rpar1"]) + this.rpar2 = parseFloat(arguments[0]["rpar2"]) + this.walls = inverse(arguments[0]["walls"]) + this.xt = inverse(arguments[0]["xt"]) + this.xd = inverse(arguments[0]["xd"]) + this.y = inverse(arguments[0]["y"]) + this.yd = inverse(arguments[0]["yd"]) + this.g = parseFloat(arguments[0]["g"]) + this.C = parseFloat(arguments[0]["C"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; |