rogueviz::flocking:: ranges adjustable with CL parameters

This commit is contained in:
Zeno Rogue 2018-11-20 12:59:12 +01:00
parent 875743039f
commit 895081934d
1 changed files with 9 additions and 0 deletions

View File

@ -268,6 +268,15 @@ namespace flocking {
else if(argis("-sepf")) {
shift(); sep_factor = argf();
}
else if(argis("-cohr")) {
shift(); coh_range = argf();
}
else if(argis("-alignr")) {
shift(); align_range = argf();
}
else if(argis("-sepr")) {
shift(); sep_range = argf();
}
else return 1;
return 0;
}