protected internal override void AddJointRange(List <Joint> collection) { ISequentialImpulsesJoint[] newJoints = new ISequentialImpulsesJoint[collection.Count]; for (int index = 0; index < newJoints.Length; ++index) { newJoints[index] = (ISequentialImpulsesJoint)collection[index]; } siJoints.AddRange(newJoints); }
static bool IsJointRemoved(ISequentialImpulsesJoint joint) { return(!joint.IsAdded); }
static bool IsJointRemoved(ISequentialImpulsesJoint joint) { return joint.Engine == null; }
protected internal override void AddJointRange(List<Joint> collection) { ISequentialImpulsesJoint[] newJoints = new ISequentialImpulsesJoint[collection.Count]; for (int index = 0; index < newJoints.Length; ++index) { newJoints[index] = (ISequentialImpulsesJoint)collection[index]; } siJoints.AddRange(newJoints); }
static bool IsJointRemoved(ISequentialImpulsesJoint joint) { return !joint.IsAdded; }