// friend class b2Joint; internal b2MotorJoint(b2MotorJointDef def) : base(def) { m_linearOffset = def.linearOffset; m_angularOffset = def.angularOffset; m_linearImpulse.SetZero(); m_angularImpulse = 0.0f; m_maxForce = def.maxForce; m_maxTorque = def.maxTorque; m_correctionFactor = def.correctionFactor; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(b2MotorJointDef obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }