Ejemplo n.º 1
0
	public void AddConnection ( OGLineNode node, Vector3[] segments ) {
		List< Connection > tmp = new List< Connection > ( connections );
		
		tmp.Add ( new Connection ( node, segments ) );

		connections = tmp.ToArray ();
	}
Ejemplo n.º 2
0
    public void AddConnection(OGLineNode node, Vector3[] segments)
    {
        List <Connection> tmp = new List <Connection> (connections);

        tmp.Add(new Connection(node, segments));

        connections = tmp.ToArray();
    }
Ejemplo n.º 3
0
	public void SetConnection ( int i, OGLineNode node, Vector3[] segments ) {
		List< Connection > tmp = new List< Connection > ( connections );

		if ( i >= tmp.Count ) {
			for ( int n = tmp.Count; n <= i; n++ ) {
				tmp.Add ( null );
			}
		}

		tmp[i] = new Connection ( node, segments );

		connections = tmp.ToArray ();
	}
Ejemplo n.º 4
0
    public void SetConnection(int i, OGLineNode node, Vector3[] segments)
    {
        List <Connection> tmp = new List <Connection> (connections);

        if (i >= tmp.Count)
        {
            for (int n = tmp.Count; n <= i; n++)
            {
                tmp.Add(null);
            }
        }

        tmp[i] = new Connection(node, segments);

        connections = tmp.ToArray();
    }
Ejemplo n.º 5
0
 public void SetConnection(int i, OGLineNode node)
 {
     SetConnection(i, node, new Vector3 [0]);
 }
Ejemplo n.º 6
0
 public void AddConnection(OGLineNode node)
 {
     AddConnection(node, new Vector3 [0]);
 }
Ejemplo n.º 7
0
 public Connection(OGLineNode node, Vector3[] segments)
 {
     this.node     = node;
     this.segments = segments;
 }
Ejemplo n.º 8
0
 public Connection(OGLineNode node)
 {
     this.node = node;
 }
Ejemplo n.º 9
0
	public void SetConnection ( int i, OGLineNode node ) {
		SetConnection ( i, node, new Vector3 [0] );
	}
Ejemplo n.º 10
0
	public void AddConnection ( OGLineNode node ) {
		AddConnection ( node, new Vector3 [0] );
	}
Ejemplo n.º 11
0
		public Connection ( OGLineNode node, Vector3[] segments ) {
			this.node = node;
			this.segments = segments;
		}
Ejemplo n.º 12
0
		public Connection ( OGLineNode node ) {
			this.node = node;
		}