Esempio n. 1
0
 public btRaycastVehicle(btRaycastVehicle.btVehicleTuning tuning, btRigidBody chassis, btVehicleRaycaster raycaster) : this(BulletPINVOKE.new_btRaycastVehicle(btRaycastVehicle.btVehicleTuning.getCPtr(tuning), btRigidBody.getCPtr(chassis), btVehicleRaycaster.getCPtr(raycaster)), true)
 {
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(btVehicleRaycaster obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }