Exemple #1
0
        void AddStandardRules()
        {
            Rule boxRule = new BoxRule("box");

            _Rules.Add(boxRule);
            _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
            Rule sphereRule = new SphereRule("sphere");

            _Rules.Add(sphereRule);
            _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
            Rule circleRule = new CircleRule("circle");

            _Rules.Add(circleRule);
            _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
            Rule sphereLightRule = new SphereLightRule("spherelight");

            _Rules.Add(sphereLightRule);
            _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
            Rule cylinderRule = new CylinderRule("cylinder");

            _Rules.Add(cylinderRule);
            _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
            Rule mengerRule = new MengerRule("menger");

            _Rules.Add(mengerRule);
            _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
            Rule distanceRule = new DistanceRule("distance");

            _Rules.Add(distanceRule);
            _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
            Rule svoRule = new SVORule("svo");

            _Rules.Add(svoRule);
            _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
            Rule fractalRule = new FractalRule("fractal");

            _Rules.Add(fractalRule);
            _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
        }
Exemple #2
0
 void AddStandardRules()
 {
     Rule boxRule = new BoxRule("box");
     _Rules.Add(boxRule);
     _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
     Rule sphereRule = new SphereRule("sphere");
     _Rules.Add(sphereRule);
     _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
     Rule circleRule = new CircleRule("circle");
     _Rules.Add(circleRule);
     _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
     Rule sphereLightRule = new SphereLightRule("spherelight");
     _Rules.Add(sphereLightRule);
     _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
     Rule cylinderRule = new CylinderRule("cylinder");
     _Rules.Add(cylinderRule);
     _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
     Rule mengerRule = new MengerRule("menger");
     _Rules.Add(mengerRule);
     _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
     Rule distanceRule = new DistanceRule("distance");
     _Rules.Add(distanceRule);
     _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
     Rule svoRule = new SVORule("svo");
     _Rules.Add(svoRule);
     _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
     Rule fractalRule = new FractalRule("fractal");
     _Rules.Add(fractalRule);
     _RulePrototypes.Add(new RulePrototype(_Rules[_Rules.Count - 1]._Name));
 }