Exemplo n.º 1
0
 /// <summary>
 /// Releases unmanaged and - optionally - managed resources.
 /// </summary>
 public void Dispose()
 {
     if (mMotor == null)
     {
         return;
     }
     mMotor.Dispose();
     mMotor = null;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Releases unmanaged and - optionally - managed resources.
 /// </summary>
 public void Dispose()
 {
     if (mMotor == null) return;
     mMotor.Dispose();
     mMotor = null;
 }
Exemplo 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;
 }
Exemplo 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;
 }