Ejemplo n.º 1
0
 /// <summary>
 /// Creates an angle in degrees from a radian.
 /// </summary>
 /// <param name="value">The initial value in radians.</param>
 /// <since_tizen> 3 </since_tizen>
 public Degree(Radian value) : this(Interop.Degree.new_Degree__SWIG_2(Radian.getCPtr(value)), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public Radian(Radian rhs) : this(OgrePINVOKE.new_Radian__SWIG_3(Radian.getCPtr(rhs)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public Degree(Radian r) : this(OgrePINVOKE.new_Degree__SWIG_2(Radian.getCPtr(r)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public virtual void yaw(Radian angle)
 {
     OgrePINVOKE.Node_yaw__SWIG_1(swigCPtr, Radian.getCPtr(angle));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
 public void RotateBy(Radian angle, Vector3 axis)
 {
     Interop.ActorInternal.RotateByRadian(SwigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 6
0
 public void setSpotlightOuterAngle(Radian val)
 {
     OgrePINVOKE.Light_setSpotlightOuterAngle(swigCPtr, Radian.getCPtr(val));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 7
0
 public void FromAngleAxis(Vector3 rkAxis, Radian fRadians)
 {
     OgrePINVOKE.Matrix3_FromAngleAxis(swigCPtr, Vector3.getCPtr(rkAxis), Radian.getCPtr(fRadians));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 8
0
 public void setSpotlightRange(Radian innerAngle, Radian outerAngle)
 {
     OgrePINVOKE.Light_setSpotlightRange__SWIG_1(swigCPtr, Radian.getCPtr(innerAngle), Radian.getCPtr(outerAngle));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 9
0
 public void rotate(Vector3 axis, Radian angle)
 {
     OgrePINVOKE.Node_rotate__SWIG_1(swigCPtr, Vector3.getCPtr(axis), Radian.getCPtr(angle));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 10
0
 public void rotate(Radian angle)
 {
     OgreOverlayPINVOKE.Overlay_rotate(swigCPtr, Radian.getCPtr(angle));
     if (OgreOverlayPINVOKE.SWIGPendingException.Pending)
     {
         throw OgreOverlayPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 11
0
 public void setRotation(Radian rotation)
 {
     OgrePINVOKE.Billboard_setRotation(swigCPtr, Radian.getCPtr(rotation));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 12
0
 public void FromEulerAnglesZYX(Radian fYAngle, Radian fPAngle, Radian fRAngle)
 {
     OgrePINVOKE.Matrix3_FromEulerAnglesZYX(swigCPtr, Radian.getCPtr(fYAngle), Radian.getCPtr(fPAngle), Radian.getCPtr(fRAngle));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 13
0
 public virtual void setAngle(Radian angle)
 {
     OgrePINVOKE.ParticleEmitter_setAngle(swigCPtr, Radian.getCPtr(angle));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 14
0
 public void setRotation(Radian rad)
 {
     OgrePINVOKE.Particle_setRotation(swigCPtr, Radian.getCPtr(rad));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 15
0
 public void rotate(Vector3 axis, Radian angle, Node.TransformSpace relativeTo)
 {
     OgrePINVOKE.Node_rotate__SWIG_0(swigCPtr, Vector3.getCPtr(axis), Radian.getCPtr(angle), (int)relativeTo);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 16
0
 public virtual void yaw(Radian angle, Node.TransformSpace relativeTo)
 {
     OgrePINVOKE.Node_yaw__SWIG_0(swigCPtr, Radian.getCPtr(angle), (int)relativeTo);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 17
0
 public void setYawPitchDist(Radian yaw, Radian pitch, float dist)
 {
     BitesPINVOKE.CameraMan_setYawPitchDist(swigCPtr, Radian.getCPtr(yaw), Radian.getCPtr(pitch), dist);
     if (BitesPINVOKE.SWIGPendingException.Pending)
     {
         throw BitesPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 18
0
 public void ToAngleAxis(Radian rfAngle, Vector3 rkAxis)
 {
     OgrePINVOKE.Quaternion_ToAngleAxis__SWIG_0(swigCPtr, Radian.getCPtr(rfAngle), Vector3.getCPtr(rkAxis));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 19
0
 internal void SetOrientation(Radian angle, Vector3 axis)
 {
     Interop.ActorInternal.Actor_SetOrientation__SWIG_1(swigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 20
0
 public void setFOVy(Radian fovy)
 {
     OgrePINVOKE.Frustum_setFOVy(swigCPtr, Radian.getCPtr(fovy));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 21
0
        public static Radian Sqrt(Radian fValue)
        {
            Radian ret = new Radian(OgrePINVOKE.Math_Sqrt__SWIG_1(Radian.getCPtr(fValue)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 22
0
        public static float Tan(Radian fValue)
        {
            float ret = OgrePINVOKE.Math_Tan__SWIG_1(Radian.getCPtr(fValue));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 23
0
        public bool ToEulerAnglesZYX(Radian rfYAngle, Radian rfPAngle, Radian rfRAngle)
        {
            bool ret = OgrePINVOKE.Matrix3_ToEulerAnglesZYX(swigCPtr, Radian.getCPtr(rfYAngle), Radian.getCPtr(rfPAngle), Radian.getCPtr(rfRAngle));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 24
0
        public static float Sin(Radian fValue, bool useTables)
        {
            float ret = OgrePINVOKE.Math_Sin__SWIG_0(Radian.getCPtr(fValue), useTables);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 25
0
        public static Radian Abs(Radian rValue)
        {
            Radian ret = new Radian(OgrePINVOKE.Math_Abs__SWIG_2(Radian.getCPtr(rValue)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 26
0
 public AngleThresholdPair(Radian t, Radian u) : this(Interop.AngleThresholdPair.NewAngleThresholdPair(Radian.getCPtr(t), Radian.getCPtr(u)), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 27
0
 public Quaternion(Radian rfAngle, Vector3 rkAxis) : this(OgrePINVOKE.new_Quaternion__SWIG_4(Radian.getCPtr(rfAngle), Vector3.getCPtr(rkAxis)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 28
0
        public bool equals(Quaternion rhs, Radian tolerance)
        {
            bool ret = OgrePINVOKE.Quaternion_equals(swigCPtr, Quaternion.getCPtr(rhs), Radian.getCPtr(tolerance));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 29
0
        public Vector2 randomDeviant(Radian angle)
        {
            Vector2 ret = new Vector2(OgrePINVOKE.VectorBase2_randomDeviant(swigCPtr, Radian.getCPtr(angle)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 30
0
 public AngleAxis(Radian initialAngle, Vector3 initialAxis) : this(Interop.AngleAxis.new_AngleAxis__SWIG_1(Radian.getCPtr(initialAngle), Vector3.getCPtr(initialAxis)), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }