Exemple #1
0
 public void getCameraToViewportBoxVolume(float screenLeft, float screenTop, float screenRight, float screenBottom, PlaneBoundedVolume outVolume)
 {
     OgrePINVOKE.Camera_getCameraToViewportBoxVolume__SWIG_3(swigCPtr, screenLeft, screenTop, screenRight, screenBottom, PlaneBoundedVolume.getCPtr(outVolume));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
        public SWIGTYPE_p_std__pairT_bool_float_t intersects(PlaneBoundedVolume p)
        {
            SWIGTYPE_p_std__pairT_bool_float_t ret = new SWIGTYPE_p_std__pairT_bool_float_t(OgrePINVOKE.Ray_intersects__SWIG_1(swigCPtr, PlaneBoundedVolume.getCPtr(p)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }