]> git.dabkitsch.com - morphograph.git/commitdiff
reverting back to full graph; red herring master v0.1
authorequilet <2237372+equilet@users.noreply.github.com>
Wed, 24 Jan 2024 22:02:43 +0000 (14:02 -0800)
committerequilet <2237372+equilet@users.noreply.github.com>
Wed, 24 Jan 2024 22:02:43 +0000 (14:02 -0800)
source/morphograph.cpp

index db3462f691abefb9c364a7d01bb1bd6473ea310f..236a25569f60721e224480e43df14c096a6bc7e3 100644 (file)
@@ -130,7 +130,6 @@ public:
     
     void draw_init(){
         //any drawing initialization should happen here
     
     void draw_init(){
         //any drawing initialization should happen here
-    
         
         if(shape == std::string("linegraph")){
             linestr = "<"; //open
         
         if(shape == std::string("linegraph")){
             linestr = "<"; //open
@@ -416,7 +415,8 @@ public:
 
         //draw all elements after calculating relevant data
         for (unsigned i = 0; i < layers.size(); ++i) {
 
         //draw all elements after calculating relevant data
         for (unsigned i = 0; i < layers.size(); ++i) {
-            long vsize = layers[i].desc.energy.size() / 2;
+            //long vsize = layers[i].desc.energy.size() / 2;
+            long vsize = layers[i].desc.energy.size();
             
             //j represents the analysis frame
             //this should be a parameter to thin the data out...
             
             //j represents the analysis frame
             //this should be a parameter to thin the data out...
@@ -495,7 +495,6 @@ public:
           
                     switch(get_action_id(x, k)){
                         case PARAM_ROTATION: {
           
                     switch(get_action_id(x, k)){
                         case PARAM_ROTATION: {
-                            //unimplemented
                             swrite.set_rotation(curr_feature_datum * 100.0);
                         } break;
                         case PARAM_XSCALE: {
                             swrite.set_rotation(curr_feature_datum * 100.0);
                         } break;
                         case PARAM_XSCALE: {