Changeset 1247 for cpp/frams/genetics/f1
- Timestamp:
- 05/21/23 22:52:02 (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f1/f1_conv.cpp
r1244 r1247 199 199 setPartMapping(part1, g); 200 200 SList ga; 201 int i, count; 202 count = countBranches(g + 1, ga); 201 int count = countBranches(g + 1, ga); 203 202 c.muscle_reset_range = false; 204 203 c.muscle_bend_range = 1.0 / count; 205 for (i = 0; i < count; i++)204 for (int i = 0; i < count; i++) 206 205 grow(part1, (char*)ga(i), k + Pt3D(0, 0, -M_PI + (i + 1)*(2 * M_PI / (count + 1))), c, part1); 207 206 return;
Note: See TracChangeset
for help on using the changeset viewer.