예제 #1
0
 internal MaxDistanceJoint(MaxDistanceJointDef def)
     : base(def)
 {
     _localAnchor1 = def.localAnchorA;
     _localAnchor2 = def.localAnchorB;
     _length       = def.length;
     _frequencyHz  = def.frequencyHz;
     _dampingRatio = def.dampingRatio;
     _impulse      = 0.0f;
     _gamma        = 0.0f;
     _bias         = 0.0f;
 }
예제 #2
0
 internal MaxDistanceJoint(MaxDistanceJointDef def)
     : base(def)
 {
     _localAnchor1 = def.localAnchorA;
     _localAnchor2 = def.localAnchorB;
     _length = def.length;
     _frequencyHz = def.frequencyHz;
     _dampingRatio = def.dampingRatio;
     _impulse = 0.0f;
     _gamma = 0.0f;
     _bias = 0.0f;
 }