Exemplo n.º 1
0
        public SimElementManagerDefinition createDefinition()
        {
            var definition    = new BEPUikSceneDefinition(name);
            var rootSolverDef = definition.RootSolverDefinition;

            return(definition);
        }
Exemplo n.º 2
0
 public BEPUikScene(BEPUikSceneDefinition definition, UpdateTimer timer)
 {
     this.timer = timer;
     this.name  = definition.Name;
     factory    = new BEPUIkFactory(this);
     updater    = new BEPUikSceneUpdater(this);
     timer.addBackgroundUpdateListener("Rendering", updater);
     rootSolver = new BEPUikSolver(definition.RootSolverDefinition);
     namedSolvers.Add(rootSolver.Name, rootSolver);
     foreach (var childSolver in rootSolver.ChildSolvers)
     {
         namedSolvers.Add(childSolver.Name, childSolver);
     }
 }
Exemplo n.º 3
0
 internal BEPUikScene createScene(BEPUikSceneDefinition definition)
 {
     return(new BEPUikScene(definition, timer));
 }