diff options
Diffstat (limited to 'js/Misc/CONSTRAINT2_c.js')
-rw-r--r-- | js/Misc/CONSTRAINT2_c.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/Misc/CONSTRAINT2_c.js b/js/Misc/CONSTRAINT2_c.js index 803e1508..b30bdd95 100644 --- a/js/Misc/CONSTRAINT2_c.js +++ b/js/Misc/CONSTRAINT2_c.js @@ -23,6 +23,9 @@ function CONSTRAINT2_c() { CONSTRAINT2_c.prototype.get = function CONSTRAINT2_c() { } CONSTRAINT2_c.prototype.set = function CONSTRAINT2_c() { + this.x0 = parseFloat((arguments[0]["x0"])) + this.xd0 = parseFloat((arguments[0]["xd0"])) + this.id = parseFloat((arguments[0]["id"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; |