예제 #1
0
 public void Focus(int nodeIndex, GreatCircleCamera camera)
 {
     referenceNodeIndex = nodeIndex;
     if (!AnchorToNodes)
     {
         var graph = GetGraph();
         camera.CenterOfOrbit = ((SpatialNode)graph.Nodes[nodeIndex]).Position;
     }
 }
예제 #2
0
 public void Focus(int nodeIndex, GreatCircleCamera camera)
 {
     referenceNodeIndex = nodeIndex;
     if (!AnchorToNodes)
     {
         var graph = GetGraph();
         camera.CenterOfOrbit = ((SpatialNode)graph.Nodes[nodeIndex]).Position;
     }
 }