Update NN3DWalkers.cpp

the excessive stack-space requirements in printWalkerConfigs breaks some proprietary/internal build systems.
This commit is contained in:
erwincoumans 2016-11-21 10:18:48 -08:00 committed by GitHub
parent 659e36102d
commit d4a18c5634

View File

@ -1035,6 +1035,7 @@ void NN3DWalkersExample::drawMarkings() {
}
void NN3DWalkersExample::printWalkerConfigs(){
#if 0
char configString[25 + NUM_WALKERS*BODYPART_COUNT*JOINT_COUNT*(3+15+1) + NUM_WALKERS*4 + 1]; // 15 precision + [],\n
char* runner = configString;
sprintf(runner,"Population configuration:");
@ -1058,4 +1059,5 @@ void NN3DWalkersExample::printWalkerConfigs(){
}
runner[0] = '\0';
b3Printf(configString);
#endif
}