Makman2 / CE3D

A terminal 3D engine
GNU General Public License v3.0
4 stars 0 forks source link

TransformationChain: Implement begin() #183

Open Makman2 opened 9 years ago

Makman2 commented 9 years ago

There is already the Begin() function, but it's maybe worth to consider to make it iteratable via the foreach construct:

for (auto elem : transformation_chain)
    // Do as you please.

So we need another function begin() but starting with a small letter, so the compiler recognizes it. begin() would then just simply invoke Begin().