Esempio n. 1
0
 /// <summary>
 /// Releases unmanaged and - optionally - managed resources.
 /// </summary>
 public void Dispose()
 {
     if (mMotor == null)
     {
         return;
     }
     mMotor.Dispose();
     mMotor = null;
 }
Esempio n. 2
0
 /// <summary>
 /// Releases unmanaged and - optionally - managed resources.
 /// </summary>
 public void Dispose()
 {
     if (mMotor == null) return;
     mMotor.Dispose();
     mMotor = null;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RotationalLimitMotor"/> class.
 /// </summary>
 /// <param name="motor">The motor.</param>
 public RotationalLimitMotor(BulletSharp.RotationalLimitMotor motor)
 {
     mMotor = motor;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RotationalLimitMotor"/> class.
 /// </summary>
 /// <param name="motor">The motor.</param>
 public RotationalLimitMotor(BulletSharp.RotationalLimitMotor motor)
 {
     mMotor = motor;
 }