Exemple #1
0
        public SWIGTYPE_p_std__vectorT_Ogre__Plane_t getWindowPlanes()
        {
            SWIGTYPE_p_std__vectorT_Ogre__Plane_t ret = new SWIGTYPE_p_std__vectorT_Ogre__Plane_t(OgrePINVOKE.Camera_getWindowPlanes(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #2
0
        public static SWIGTYPE_p_std__pairT_bool_float_t intersects(Ray ray, SWIGTYPE_p_std__vectorT_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_13(Ray.getCPtr(ray), SWIGTYPE_p_std__vectorT_Ogre__Plane_t.getCPtr(planeList), normalIsOutside), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__vectorT_Ogre__Plane_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }