luismrsilva / cg-micromachines

3D version of the first MicroMachines game, made for the Computer Graphics course (2015/2016) at IST, CS BSc
1 stars 0 forks source link

Using range-based for loops (c++11) #50

Closed nuno-silva closed 8 years ago

nuno-silva commented 8 years ago

see http://en.cppreference.com/w/cpp/language/range-for

Please profile the code with and without range-base for loops before merging.

Review the changes to make sure I didn't miss anything.

luismrsilva commented 8 years ago

Same fps before and after. We had not really decided on the C++ version to use, but it looks cleaner this way.