Example #1
0
 public MochaVec4(SWIGTYPE_p_ConstRealPointer data) : this(SharpMochaPINVOKE.new_MochaVec4__SWIG_3(SWIGTYPE_p_ConstRealPointer.getCPtr(data)), true)
 {
     if (SharpMochaPINVOKE.SWIGPendingException.Pending)
     {
         throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_ConstRealPointer obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Example #3
0
 public MochaVec3(SWIGTYPE_p_ConstRealPointer data)
     : this(SharpMochaPINVOKE.new_MochaVec3__SWIG_5(SWIGTYPE_p_ConstRealPointer.getCPtr(data)), true)
 {
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
 }
Example #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_ConstRealPointer obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }