X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2FJU%2FT4.js;h=90e53babdd398479d57a0d82514a05c9bd75cb77;hp=f38c063dabc1a0f1c8a54d0fae1ebc420fe0f376;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/JU/T4.js b/site/j2s/JU/T4.js index f38c063..90e53ba 100644 --- a/site/j2s/JU/T4.js +++ b/site/j2s/JU/T4.js @@ -1,37 +1,37 @@ -Clazz.declarePackage ("JU"); -Clazz.load (["JU.T3"], "JU.T4", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.w = 0; -Clazz.instantialize (this, arguments); -}, JU, "T4", JU.T3); -Clazz.defineMethod (c$, "set4", -function (x, y, z, w) { -this.x = x; -this.y = y; -this.z = z; -this.w = w; -}, "~N,~N,~N,~N"); -Clazz.defineMethod (c$, "scale4", -function (s) { -this.scale (s); -this.w *= s; -}, "~N"); -Clazz.overrideMethod (c$, "hashCode", -function () { -return JU.T3.floatToIntBits0 (this.x) ^ JU.T3.floatToIntBits0 (this.y) ^ JU.T3.floatToIntBits0 (this.z) ^ JU.T3.floatToIntBits0 (this.w); -}); -Clazz.overrideMethod (c$, "equals", -function (o) { -if (!(Clazz.instanceOf (o, JU.T4))) return false; -var t = o; -return (this.x == t.x && this.y == t.y && this.z == t.z && this.w == t.w); -}, "~O"); -Clazz.overrideMethod (c$, "toString", -function () { -return "(" + this.x + ", " + this.y + ", " + this.z + ", " + this.w + ")"; -}); -Clazz.overrideMethod (c$, "toJSON", -function () { -return "[" + this.x + ", " + this.y + ", " + this.z + ", " + this.w + "]"; -}); -}); +Clazz.declarePackage ("JU"); +Clazz.load (["JU.T3"], "JU.T4", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.w = 0; +Clazz.instantialize (this, arguments); +}, JU, "T4", JU.T3); +Clazz.defineMethod (c$, "set4", +function (x, y, z, w) { +this.x = x; +this.y = y; +this.z = z; +this.w = w; +}, "~N,~N,~N,~N"); +Clazz.defineMethod (c$, "scale4", +function (s) { +this.scale (s); +this.w *= s; +}, "~N"); +Clazz.overrideMethod (c$, "hashCode", +function () { +return JU.T3.floatToIntBits0 (this.x) ^ JU.T3.floatToIntBits0 (this.y) ^ JU.T3.floatToIntBits0 (this.z) ^ JU.T3.floatToIntBits0 (this.w); +}); +Clazz.overrideMethod (c$, "equals", +function (o) { +if (!(Clazz.instanceOf (o, JU.T4))) return false; +var t = o; +return (this.x == t.x && this.y == t.y && this.z == t.z && this.w == t.w); +}, "~O"); +Clazz.overrideMethod (c$, "toString", +function () { +return "(" + this.x + ", " + this.y + ", " + this.z + ", " + this.w + ")"; +}); +Clazz.overrideMethod (c$, "toJSON", +function () { +return "[" + this.x + ", " + this.y + ", " + this.z + ", " + this.w + "]"; +}); +});