Renamed many symbols named "shapes" to "animation" to make the intent clearer

This commit is contained in:
Daniel Wolf
2016-12-29 15:17:45 +01:00
parent 876fa024ad
commit b02f37e961
20 changed files with 45 additions and 45 deletions

View File

@@ -29,9 +29,9 @@ ContinuousTimeline<ShapeRule> convertToTargetShapeSet(const ContinuousTimeline<S
return result;
}
JoiningContinuousTimeline<Shape> convertToTargetShapeSet(const JoiningContinuousTimeline<Shape>& shapes, const ShapeSet& targetShapeSet) {
JoiningContinuousTimeline<Shape> result(shapes);
for (const auto& timedShape : shapes) {
JoiningContinuousTimeline<Shape> convertToTargetShapeSet(const JoiningContinuousTimeline<Shape>& animation, const ShapeSet& targetShapeSet) {
JoiningContinuousTimeline<Shape> result(animation);
for (const auto& timedShape : animation) {
result.set(timedShape.getTimeRange(), convertToTargetShapeSet(timedShape.getValue(), targetShapeSet));
}
return result;