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()); }
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()); }