c++ Programming Glossary: mstepsize
Using bools in calculations to avoid branches http://stackoverflow.com/questions/20163883/using-bools-in-calculations-to-avoid-branches bool running false int ticks 0 void step_versionOne int mStepSize if running ticks mStepSize void step_versionTwo int mStepSize.. 0 void step_versionOne int mStepSize if running ticks mStepSize void step_versionTwo int mStepSize ticks mStepSize static_cast.. if running ticks mStepSize void step_versionTwo int mStepSize ticks mStepSize static_cast int running It seems the two methods..
|