예제 #1
0
 public void Tick()
 {
     //renderer.RenderObstacles(obstacles);
     FindHulls(obstacles).ForEach(renderer.RenderPoints);
     renderer.RenderPoints(new[] { lastMousePosition });
     renderer.RenderText(lastMousePosition.ToString(), lastMousePosition);
 }
예제 #2
0
 public void RenderPoints(IEnumerable <Vector> points)
 {
     queue.Add(() => renderer.RenderPoints(points));
 }