Changeset 587 for experiments/frams/foraminifera/data
- Timestamp:
- 08/19/16 00:27:50 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experiments/frams/foraminifera/data/scripts/foraminifera.expdef
r584 r587 591 591 { 592 592 change_direction = 1; 593 cr.moveAbs(new_x-cr.size_x/2, new_y-cr.size_y/2, -cr.getPart(cr.numparts-1).sx); 593 cr.moveAbs(new_x-cr.size_x/2, new_y-cr.size_y/2, -cr.getPart(cr.numparts-1).sx);//place slightly under the bottom surface ("z" value depends on the size of the last=largest chamber) 594 594 } 595 595 … … 788 788 var nut = Populations[2].add("//0\nm:Vstyle=nutrient_visual\np:sh=2,sx="+nutsize+",sy="+nutsize+",sz="+nutsize+",ry=1.5,vr=0.0,1.0,0.0"); 789 789 cr.data->reticulopodiacreature = nut; 790 nut.moveAbs( cr.pos_x-nutsize, cr.pos_y-nutsize, -nutsize);790 nut.moveAbs( cr.pos_x+cr.size_x/2-nut.size_x/2, cr.pos_y+cr.size_y/2-nut.size_y/2, -nutsize); 791 791 } 792 792 }
Note: See TracChangeset
for help on using the changeset viewer.