public static void Main(string[] args) { Blocks blocks = new Blocks(); /* Set up the scenario. */ blocks.setupScenario(); /* Perform (and manipulate) the simulation. */ do { #if RVO_OUTPUT_TIME_AND_POSITIONS blocks.updateVisualization(); #endif blocks.setPreferredVelocities(); Simulator.Instance.doStep(); }while (!blocks.reachedGoal()); }
public static void Main(string[] args) { Blocks blocks = new Blocks(); /* Set up the scenario. */ blocks.setupScenario(); /* Perform (and manipulate) the simulation. */ do { #if RVO_OUTPUT_TIME_AND_POSITIONS blocks.updateVisualization(); #endif blocks.setPreferredVelocities(); Simulator.Instance.doStep(); } while (!blocks.reachedGoal()); }