- Timestamp:
- 02/10/14 17:13:09 (11 years ago)
- Location:
- cpp/frams/genetics/f9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f9/conv_f9.cpp
r120 r125 8 8 #include <common/nonstd_stl.h> //ARRAY_LENGTH 9 9 10 //#define APPLY_DETERMINISTIC_BODY_NOISE 10 #define APPLY_DETERMINISTIC_BODY_NOISE //this representation easily produces perfectly vertical sticks that would stay upright forever. In most cases such infinite perfection is not desired, so we make the construct less perfect by perturbing its coordinates. 11 11 12 12 GenoConv_F90::GenoConv_F90() … … 145 145 } 146 146 147 void GenoConv_F90::perturbPartLocations(Model &m) //deterministic "body noise" 147 void GenoConv_F90::perturbPartLocations(Model &m) //deterministic "body noise", see APPLY_DETERMINISTIC_BODY_NOISE 148 148 { 149 149 for(int i=0;i<m.getPartCount();i++) -
cpp/frams/genetics/f9/conv_f9.h
r120 r125 43 43 int addNewVertex(Model &m,vector<XYZ_LOC> &punkty,const XYZ_LOC &nowypunkt); 44 44 void setColors(Model &m); //sets fixed (independent from genes) colors and widths on a model, purely for aesthetic purposes 45 void perturbPartLocations(Model &m); //deterministic "body noise" 45 void perturbPartLocations(Model &m); //deterministic "body noise", see APPLY_DETERMINISTIC_BODY_NOISE 46 46 }; 47 47
Note: See TracChangeset
for help on using the changeset viewer.