Пример #1
0
 /// <summary>
 /// Releases unmanaged and - optionally - managed resources.
 /// </summary>
 public void Dispose()
 {
     if (mMotor == null)
     {
         return;
     }
     mMotor.Dispose();
     mMotor = null;
 }
 /// <summary>
 /// Releases unmanaged and - optionally - managed resources.
 /// </summary>
 public void Dispose()
 {
     if (mMotor == null) return;
     mMotor.Dispose();
     mMotor = null;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TranslationalLimitMotor"/> class.
 /// </summary>
 /// <param name="motor">The motor.</param>
 public TranslationalLimitMotor(BulletSharp.TranslationalLimitMotor motor)
 {
     mMotor = motor;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TranslationalLimitMotor"/> class.
 /// </summary>
 /// <param name="motor">The motor.</param>
 public TranslationalLimitMotor(BulletSharp.TranslationalLimitMotor motor)
 {
     mMotor = motor;
 }