private void CompileTransformations(List <IFractalTransformation> transformations) { IFractalTransformationCompiler compiler = new FractalTransformationCompiler(); compiler.BeginCompilation(); foreach (IFractalTransformation fTransformation in transformations) { fTransformation.Accept(compiler); } compiler.EndCompilation(); }
private void CompileTransformations() { if (_transformations.Count == 0) { return; } IFractalTransformationCompiler compiler = new FractalTransformationCompiler(); _compiledTransformations.Clear(); compiler.BeginCompilation(); foreach (IFractalTransformation fTransformation in _transformations) { fTransformation.Accept(compiler); } _compiledTransformations = compiler.EndCompilation(); }