Exemplo n.º 1
0
        public SWIGTYPE_p_std__pairT_bool_float_t intersects(Ray ray)
        {
            SWIGTYPE_p_std__pairT_bool_float_t ret = new SWIGTYPE_p_std__pairT_bool_float_t(OgrePINVOKE.PlaneBoundedVolume_intersects__SWIG_2(swigCPtr, Ray.getCPtr(ray)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 2
0
        public static SWIGTYPE_p_std__pairT_bool_float_t intersects(Ray ray, Vector3 a, Vector3 b, Vector3 c)
        {
            SWIGTYPE_p_std__pairT_bool_float_t ret = new SWIGTYPE_p_std__pairT_bool_float_t(OgrePINVOKE.Math_intersects__SWIG_10(Ray.getCPtr(ray), Vector3.getCPtr(a), Vector3.getCPtr(b), Vector3.getCPtr(c)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
        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);
        }
Exemplo n.º 4
0
        public static SWIGTYPE_p_std__pairT_bool_float_t intersects(Ray ray, Vector3 a, Vector3 b, Vector3 c, Vector3 normal, bool positiveSide, bool negativeSide)
        {
            SWIGTYPE_p_std__pairT_bool_float_t ret = new SWIGTYPE_p_std__pairT_bool_float_t(OgrePINVOKE.Math_intersects__SWIG_5(Ray.getCPtr(ray), Vector3.getCPtr(a), Vector3.getCPtr(b), Vector3.getCPtr(c), Vector3.getCPtr(normal), positiveSide, negativeSide), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 5
0
        public static SWIGTYPE_p_std__pairT_bool_float_t intersects(Ray ray, AxisAlignedBox box)
        {
            SWIGTYPE_p_std__pairT_bool_float_t ret = new SWIGTYPE_p_std__pairT_bool_float_t(OgrePINVOKE.Math_intersects__SWIG_3(Ray.getCPtr(ray), AxisAlignedBox.getCPtr(box)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 6
0
        public static SWIGTYPE_p_std__pairT_bool_float_t intersects(Ray ray, Sphere sphere)
        {
            SWIGTYPE_p_std__pairT_bool_float_t ret = new SWIGTYPE_p_std__pairT_bool_float_t(OgrePINVOKE.Math_intersects__SWIG_2(Ray.getCPtr(ray), Sphere.getCPtr(sphere)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 7
0
        public SWIGTYPE_p_std__pairT_bool_float_t intersects(AxisAlignedBox box)
        {
            SWIGTYPE_p_std__pairT_bool_float_t ret = new SWIGTYPE_p_std__pairT_bool_float_t(OgrePINVOKE.Ray_intersects__SWIG_4(swigCPtr, AxisAlignedBox.getCPtr(box)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 8
0
        public SWIGTYPE_p_std__pairT_bool_float_t intersects(Sphere s)
        {
            SWIGTYPE_p_std__pairT_bool_float_t ret = new SWIGTYPE_p_std__pairT_bool_float_t(OgrePINVOKE.Ray_intersects__SWIG_3(swigCPtr, Sphere.getCPtr(s)), true);

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