setPreferredVelocities() private method

private setPreferredVelocities ( ) : void
return void
Ejemplo n.º 1
0
        public static void Main(string[] args)
        {
            Circle circle = new Circle();

            /* Set up the scenario. */
            circle.setupScenario();

            /* Perform (and manipulate) the simulation. */
            do
            {
                #if RVO_OUTPUT_TIME_AND_POSITIONS
                circle.updateVisualization();
                #endif
                circle.setPreferredVelocities();
                Simulator.Instance.doStep();
            }while (!circle.reachedGoal());
        }
Ejemplo n.º 2
0
        public static void Main(string[] args)
        {
            Circle circle = new Circle();

            /* Set up the scenario. */
            circle.setupScenario();

            /* Perform (and manipulate) the simulation. */
            do
            {
                #if RVO_OUTPUT_TIME_AND_POSITIONS
                circle.updateVisualization();
                #endif
                circle.setPreferredVelocities();
                Simulator.Instance.doStep();
            }
            while (!circle.reachedGoal());
        }