示例#1
0
        protected override void CopyTo(JointInfo target)
        {
            base.CopyTo(target);
            GearJointInfo c = target as GearJointInfo;

            c.ratio = this.ratio;
        }
 private void DrawJoint(Canvas canvas, GearJointInfo joint)
 {
     this.DrawLocalLooseConstraint(canvas, joint.BodyA, joint.BodyB, Vector2.Zero, Vector2.Zero);
 }
 private void DrawJoint(Canvas canvas, GearJointInfo joint)
 {
     this.DrawLocalLooseConstraint(canvas, joint.ParentBody, joint.OtherBody, Vector2.Zero, Vector2.Zero);
 }