Changeset 740 for cpp/frams/genetics/fF/conv_fF.cpp
- Timestamp:
- 02/20/18 01:08:04 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fF/conv_fF.cpp
r736 r740 43 43 44 44 Model m; 45 m.open( );45 m.open(using_checkpoints); 46 46 47 47 m.vis_style = "foram"; //dedicated visual look for Foraminifera … … 53 53 Part *p1 = addNewPart(&m, chambers[0]); 54 54 p1->scale = Pt3D(gp.radius0x, gp.radius0y, gp.radius0z); //size of the initial chamber 55 m.checkpoint(); 55 56 for (int i = 1; i < gp.number_of_chambers; i++) 56 57 { … … 58 59 p2->scale = p1->scale.entrywiseProduct(Pt3D(gp.scalex, gp.scaley, gp.scalez)); //each part's scale is its predecessor's scale * scaling 59 60 m.addNewJoint(p1, p2, Joint::SHAPE_FIXED); //all parts must be connected 61 m.checkpoint(); 60 62 p1 = p2; 61 63 }
Note: See TracChangeset
for help on using the changeset viewer.