From 5ea6bd919623bb0dd58f235329b985b2bb6cb4ba Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 2 Jul 2018 20:21:14 +0530 Subject: add set block --- js/Linear/DIFF_c.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/Linear/DIFF_c.js') diff --git a/js/Linear/DIFF_c.js b/js/Linear/DIFF_c.js index 506ae581..41fed9aa 100644 --- a/js/Linear/DIFF_c.js +++ b/js/Linear/DIFF_c.js @@ -20,6 +20,8 @@ function DIFF_c() { DIFF_c.prototype.get = function DIFF_c() { } DIFF_c.prototype.set = function DIFF_c() { + this.x0 = parseFloat((arguments[0]["x0"])) + this.xd0 = parseFloat((arguments[0]["xd0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; -- cgit