Changeset 921


Ignore:
Timestamp:
05/10/20 14:37:25 (5 years ago)
Author:
Maciej Komosinski
Message:

Added the declaration of "solid muscles"

Location:
cpp/frams/neuro
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/neuro/neurocls-f0-SDK-factory.h

    r419 r921  
    6969{"Rotation muscle",1, 1 ,"@",},
    7070{"p",0,0,"power","f 0.01 1.0 1.0",FIELD(power),},
     71 {0,0,0,},};
     72#undef FIELDSTRUCT
     73
     74#define FIELDSTRUCT NI_SolidMuscle
     75ParamEntry NI_SolidMuscle_tab []={
     76{"Muscle",1, 2 ,"M",},
     77{"p",0,0,"power","f 0.01 1.0 1.0",FIELD(power),},
     78{"a",0,0,"axis","d 0 1 0",FIELD(axis),},
    7179 {0,0,0,},};
    7280#undef FIELDSTRUCT
     
    155163setImplementation("|",new NI_BendMuscle); \
    156164setImplementation("@",new NI_RotMuscle); \
     165setImplementation("M",new NI_SolidMuscle); \
    157166setImplementation("D",new NI_Diff); \
    158167setImplementation("Fuzzy",new NI_FuzzyNeuro); \
  • cpp/frams/neuro/neurocls-f0-SDK-library.h

    r419 r921  
    9292{0,0,0,},};
    9393addClass(new NeuroClass(NI_RotMuscle_tab,"",1,0,2, RotMuscle_xy,false, 2+16+128+4));
     94
     95     static int SolidMuscle_xy[]={63,6,5,25,40,35,40,45,50,35,60,25,60,25,40,4,65,85,65,50,75,50,75,85,65,85,3,65,56,49,29,57,24,72,50,4,68,53,70,53,70,55,68,55,68,53,5,50,21,60,15,70,14,79,15,87,20,81,10,1,86,20,77,21};   
     96static ParamEntry NI_SolidMuscle_tab[]={
     97{"Muscle",1, 2 ,"M",},
     98
     99
     100{"p",0,0,"power","f 0.01 1.0 1.0",},
     101{"a",0,0,"axis","d 0 1 0",},
     102 
     103{0,0,0,},};
     104addClass(new NeuroClass(NI_SolidMuscle_tab,"",1,0,2, SolidMuscle_xy,false, 16+4+256));
    94105
    95106     static int Diff_xy[]={24,3,3,25,0,25,100,75,50,25,0,1,75,50,100,50,3,44,42,51,57,36,57,44,42};   
Note: See TracChangeset for help on using the changeset viewer.