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

            c.ratio = this.ratio;
        }
コード例 #2
0
 private void DrawJoint(Canvas canvas, GearJointInfo joint)
 {
     this.DrawLocalLooseConstraint(canvas, joint.BodyA, joint.BodyB, Vector2.Zero, Vector2.Zero);
 }
コード例 #3
0
 private void DrawJoint(Canvas canvas, GearJointInfo joint)
 {
     this.DrawLocalLooseConstraint(canvas, joint.ParentBody, joint.OtherBody, Vector2.Zero, Vector2.Zero);
 }