Beispiel #1
0
 public void setBounds(AxisAlignedBox box, float radius)
 {
     OgrePINVOKE.BillboardSet_setBounds(swigCPtr, AxisAlignedBox.getCPtr(box), radius);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void merge(AxisAlignedBox boxBounds, Sphere sphereBounds, Camera cam)
 {
     OgrePINVOKE.VisibleObjectsBoundsInfo_merge__SWIG_1(swigCPtr, AxisAlignedBox.getCPtr(boxBounds), Sphere.getCPtr(sphereBounds), Camera.getCPtr(cam));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #3
0
 public void setBoundingBox(AxisAlignedBox box)
 {
     OgrePINVOKE.ManualObject_setBoundingBox(swigCPtr, AxisAlignedBox.getCPtr(box));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setBox(AxisAlignedBox box)
 {
     OgrePINVOKE.AxisAlignedBoxSceneQuery_setBox(swigCPtr, AxisAlignedBox.getCPtr(box));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #5
0
 public void setupBoundingBox(AxisAlignedBox aabb)
 {
     OgrePINVOKE.WireBoundingBox_setupBoundingBox(swigCPtr, AxisAlignedBox.getCPtr(aabb));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setBounds(AxisAlignedBox aabb)
 {
     OgrePINVOKE.ParticleSystem_setBounds(swigCPtr, AxisAlignedBox.getCPtr(aabb));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #7
0
 public void merge(AxisAlignedBox rhs)
 {
     OgrePINVOKE.AxisAlignedBox_merge__SWIG_0(swigCPtr, AxisAlignedBox.getCPtr(rhs));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #8
0
 public void _setBounds(AxisAlignedBox bounds)
 {
     OgrePINVOKE.Mesh__setBounds__SWIG_1(swigCPtr, AxisAlignedBox.getCPtr(bounds));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #9
0
 public Plane.Side getSide(AxisAlignedBox box)
 {
     Plane.Side ret = (Plane.Side)OgrePINVOKE.Plane_getSide__SWIG_1(swigCPtr, AxisAlignedBox.getCPtr(box));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }
Beispiel #10
0
        public static bool intersects(Ray ray, AxisAlignedBox box, SWIGTYPE_p_float d1, SWIGTYPE_p_float d2)
        {
            bool ret = OgrePINVOKE.Math_intersects__SWIG_4(Ray.getCPtr(ray), AxisAlignedBox.getCPtr(box), SWIGTYPE_p_float.getCPtr(d1), SWIGTYPE_p_float.getCPtr(d2));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #11
0
        public bool isInLightRange(AxisAlignedBox container)
        {
            bool ret = OgrePINVOKE.Light_isInLightRange__SWIG_1(swigCPtr, AxisAlignedBox.getCPtr(container));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #12
0
        public bool contains(AxisAlignedBox other)
        {
            bool ret = OgrePINVOKE.AxisAlignedBox_contains__SWIG_1(swigCPtr, AxisAlignedBox.getCPtr(other));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #13
0
        public static bool intersects(Plane plane, AxisAlignedBox box)
        {
            bool ret = OgrePINVOKE.Math_intersects__SWIG_12(Plane.getCPtr(plane), AxisAlignedBox.getCPtr(box));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #14
0
        public override bool isVisible(AxisAlignedBox bound)
        {
            bool ret = OgrePINVOKE.Camera_isVisible__SWIG_1(swigCPtr, AxisAlignedBox.getCPtr(bound));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #15
0
        public static float boundingRadiusFromAABBCentered(AxisAlignedBox aabb)
        {
            float ret = OgrePINVOKE.Math_boundingRadiusFromAABBCentered(AxisAlignedBox.getCPtr(aabb));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #16
0
        public bool intersects(AxisAlignedBox box)
        {
            bool ret = OgrePINVOKE.Sphere_intersects__SWIG_1(swigCPtr, AxisAlignedBox.getCPtr(box));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #17
0
        public virtual bool isVisible(AxisAlignedBox bound)
        {
            bool ret = OgrePINVOKE.Frustum_isVisible__SWIG_2(swigCPtr, AxisAlignedBox.getCPtr(bound));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #18
0
        public virtual bool isVisible(AxisAlignedBox bound, SWIGTYPE_p_Ogre__FrustumPlane culledBy)
        {
            bool ret = OgrePINVOKE.Frustum_isVisible__SWIG_1(swigCPtr, AxisAlignedBox.getCPtr(bound), SWIGTYPE_p_Ogre__FrustumPlane.getCPtr(culledBy));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #19
0
        public AxisAlignedBox intersection(AxisAlignedBox b2)
        {
            AxisAlignedBox ret = new AxisAlignedBox(OgrePINVOKE.AxisAlignedBox_intersection(swigCPtr, AxisAlignedBox.getCPtr(b2)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #20
0
 public void _calcBoundsFromVertexBuffer(VertexData vertexData, AxisAlignedBox outAABB, SWIGTYPE_p_float outRadius)
 {
     OgrePINVOKE.Mesh__calcBoundsFromVertexBuffer__SWIG_1(swigCPtr, VertexData.getCPtr(vertexData), AxisAlignedBox.getCPtr(outAABB), SWIGTYPE_p_float.getCPtr(outRadius));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #21
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);
        }
Beispiel #22
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);
        }