コード例 #1
0
ファイル: Math.cs プロジェクト: wellsanin1/Game-Engine
        public static SWIGTYPE_p_std__pairT_bool_float_t intersects(Ray ray, SWIGTYPE_p_std__listT_Ogre__Plane_t planeList, bool normalIsOutside)
        {
            SWIGTYPE_p_std__pairT_bool_float_t ret = new SWIGTYPE_p_std__pairT_bool_float_t(OgrePINVOKE.Math_intersects__SWIG_14(Ray.getCPtr(ray), SWIGTYPE_p_std__listT_Ogre__Plane_t.getCPtr(planeList), normalIsOutside), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__listT_Ogre__Plane_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }