Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 259 vs 260 for /trunk/Source Code/Geometry/Animations/AnimationController.cpp

Diff revisions: vs.
  @@ -105,7 +105,7 @@
105 105 }
106 106 // get all the animation names so I can reference them by name and get the correct id
107 107 U16 i = 0;
108 - FOR_EACH(AnimEvaluator& animation, _animations){
108 + for(AnimEvaluator& animation : _animations){
109 109 _animationNameToId.insert(Unordered_map<std::string, U32>::value_type(animation._name, i++));
110 110 }
111 111 }
  @@ -145,7 +145,7 @@
145 145 void SceneAnimator::UpdateTransforms(Bone* pNode) {
146 146 CalculateBoneToWorldTransform( pNode);// update global transform as well
147 147 /// continue for all children
148 - FOR_EACH(Bone* bone, pNode->_children){
148 + for(Bone* bone : pNode->_children){
149 149 UpdateTransforms( bone );
150 150 }
151 151 }
  @@ -233,7 +233,7 @@
233 233 }
234 234
235 235 // render all child nodes
236 - FOR_EACH(Bone* bone, piNode->_children){
236 + for(Bone* bone : piNode->_children){
237 237 CreateSkeleton(bone, me, pointsA, pointsB, colors);
238 238 }
239 239