(torque float64)
| 271 | } |
| 272 | |
| 273 | func (joint *B2FrictionJoint) SetMaxTorque(torque float64) { |
| 274 | B2Assert(B2IsValid(torque) && torque >= 0.0) |
| 275 | joint.M_maxTorque = torque |
| 276 | } |
| 277 | |
| 278 | func (joint B2FrictionJoint) GetMaxTorque() float64 { |
| 279 | return joint.M_maxTorque |