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