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