private static void addConnectorsToVisualizer(VisualizerNamespace.Visualizer viz, BridgeEngineAdapter adapter) { var projectiles = adapter.GetProjectiles(); foreach (var connect in adapter.Connectors) { viz.AddConnector(projectiles[connect.Item1], projectiles[connect.Item2]); } }
private static void addConnectorsToVisualizer(VisualizerNamespace.Visualizer viz, ParticleStructure structure, FEEngineAdapter adapter) { var projectiles = adapter.GetProjectiles(); foreach (var connect in structure.Connectors) { viz.AddConnector(projectiles[connect.Item1], projectiles[connect.Item2]); } }