Exemplo n.º 1
0
		public void AddJoint(PJoint j) {
			if (numJoints + 1 >= joints.Length) {
				joints = (PJoint[]) CollectionUtils.CopyOf(joints,
						joints.Length * 2);
			}
			joints[numJoints] = j;
			numJoints++;
		}
Exemplo n.º 2
0
 public void AddJoint(PJoint j)
 {
     if (numJoints + 1 >= joints.Length)
     {
         joints = (PJoint[])CollectionUtils.CopyOf(joints,
                                                   joints.Length * 2);
     }
     joints[numJoints] = j;
     numJoints++;
 }