(factor float64)
| 287 | } |
| 288 | |
| 289 | func (joint *B2MotorJoint) SetCorrectionFactor(factor float64) { |
| 290 | B2Assert(B2IsValid(factor) && 0.0 <= factor && factor <= 1.0) |
| 291 | joint.M_correctionFactor = factor |
| 292 | } |
| 293 | |
| 294 | func (joint B2MotorJoint) GetCorrectionFactor() float64 { |
| 295 | return joint.M_correctionFactor |