summaryrefslogtreecommitdiff
path: root/js/Sinks/CSCOPXY3D.js
diff options
context:
space:
mode:
authorSunil Shetye2018-06-18 17:08:56 +0530
committerSunil Shetye2018-06-18 17:08:56 +0530
commit0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a (patch)
tree6ae63f7633d80f9a70be43ebe789eb0c3a3ec364 /js/Sinks/CSCOPXY3D.js
parent8e6e9558ba4963ea71b7a6efc11e0b44e7c9040a (diff)
downloadsci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.gz
sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.bz2
sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.zip
change order of functions
Diffstat (limited to 'js/Sinks/CSCOPXY3D.js')
-rw-r--r--js/Sinks/CSCOPXY3D.js56
1 files changed, 28 insertions, 28 deletions
diff --git a/js/Sinks/CSCOPXY3D.js b/js/Sinks/CSCOPXY3D.js
index fec5ad0c..2a297aad 100644
--- a/js/Sinks/CSCOPXY3D.js
+++ b/js/Sinks/CSCOPXY3D.js
@@ -1,5 +1,33 @@
/* autogenerated from "macros/Sinks/CSCOPXY3D.sci" */
function CSCOPXY3D() {
+CSCOPXY3D.prototype.define = function CSCOPXY3D() {
+win=-1;
+clrs=[1,2,3,4,5,6,7,13];
+siz=[1,1,1,1,1,1,1,1];
+wdim=[600,400];
+wpos=[-1,-1];
+N=2;
+param3ds=[50,280];
+vec_x=[-15,15];
+vec_y=[-15,15];
+vec_z=[-15,15];
+nbr_curves=1;
+model=scicos_model();
+model.sim=list("cscopxy3d",4);
+model.in1=[1,1,1];
+model.in2=[1,1,1];
+model.intyp=[1,1,1];
+model.evtin=1;
+model.rpar=[vec_x.slice(),vec_y.slice(),vec_z.slice(),param3ds.slice()];
+model.ipar=[win,8,N,clrs.slice(),siz.slice(),8,wpos.slice(),wdim.slice(),nbr_curves];
+model.blocktype="d";
+model.dep_ut=[false,false];
+exprs=[string(nbr_curves),strcat(string(clrs)," "),strcat(string(siz)," "),string(win),sci2exp([]),sci2exp(wdim),strcat(string(vec_x)," "),strcat(string(vec_y)," "),strcat(string(vec_z)," "),strcat(string(param3ds)," "),string(N)];
+gr_i=[];
+x=standard_define([2,2],model,exprs,gr_i);
+}
+CSCOPXY3D.prototype.details = function CSCOPXY3D() {
+}
CSCOPXY3D.prototype.get = function CSCOPXY3D() {
}
CSCOPXY3D.prototype.set = function CSCOPXY3D() {
@@ -81,32 +109,4 @@ message(mess);
}
}
}
-CSCOPXY3D.prototype.define = function CSCOPXY3D() {
-win=-1;
-clrs=[1,2,3,4,5,6,7,13];
-siz=[1,1,1,1,1,1,1,1];
-wdim=[600,400];
-wpos=[-1,-1];
-N=2;
-param3ds=[50,280];
-vec_x=[-15,15];
-vec_y=[-15,15];
-vec_z=[-15,15];
-nbr_curves=1;
-model=scicos_model();
-model.sim=list("cscopxy3d",4);
-model.in1=[1,1,1];
-model.in2=[1,1,1];
-model.intyp=[1,1,1];
-model.evtin=1;
-model.rpar=[vec_x.slice(),vec_y.slice(),vec_z.slice(),param3ds.slice()];
-model.ipar=[win,8,N,clrs.slice(),siz.slice(),8,wpos.slice(),wdim.slice(),nbr_curves];
-model.blocktype="d";
-model.dep_ut=[false,false];
-exprs=[string(nbr_curves),strcat(string(clrs)," "),strcat(string(siz)," "),string(win),sci2exp([]),sci2exp(wdim),strcat(string(vec_x)," "),strcat(string(vec_y)," "),strcat(string(vec_z)," "),strcat(string(param3ds)," "),string(N)];
-gr_i=[];
-x=standard_define([2,2],model,exprs,gr_i);
-}
-CSCOPXY3D.prototype.details = function CSCOPXY3D() {
-}
}