Esempio n. 1
0
        public Vec4 Add(Vec4 arg0)
        {
            Vec4 ret = new Vec4(VixenLibPINVOKE.Vec4_Add(swigCPtr, Vec4.getCPtr(arg0)), true);

            if (VixenLibPINVOKE.SWIGPendingException.Pending)
            {
                throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 2
0
        public float DistanceSquared(Vec4 v)
        {
            float ret = VixenLibPINVOKE.Vec4_DistanceSquared(swigCPtr, Vec4.getCPtr(v));

            if (VixenLibPINVOKE.SWIGPendingException.Pending)
            {
                throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 3
0
        public float Dot(Vec4 arg0)
        {
            float ret = VixenLibPINVOKE.Vec4_Dot__SWIG_0(swigCPtr, Vec4.getCPtr(arg0));

            if (VixenLibPINVOKE.SWIGPendingException.Pending)
            {
                throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 4
0
        public bool Equals(Vec4 arg0)
        {
            bool ret = VixenLibPINVOKE.Vec4_Equals(swigCPtr, Vec4.getCPtr(arg0));

            if (VixenLibPINVOKE.SWIGPendingException.Pending)
            {
                throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 5
0
        public bool Set(string name, Vec4 v)
        {
            bool ret = VixenLibPINVOKE.DeviceBuffer_Set__SWIG_4(swigCPtr, name, Vec4.getCPtr(v));

            if (VixenLibPINVOKE.SWIGPendingException.Pending)
            {
                throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 6
0
 internal static HandleRef getCPtr(Vec4 obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 7
0
        public Vec4 Negate()
        {
            Vec4 ret = new Vec4(VixenLibPINVOKE.Vec4_Negate(swigCPtr), false);

            return(ret);
        }
Esempio n. 8
0
        public Vec4 Div(float arg0)
        {
            Vec4 ret = new Vec4(VixenLibPINVOKE.Vec4_Div(swigCPtr, arg0), true);

            return(ret);
        }
Esempio n. 9
0
        public Vec4 GetRotationAxis()
        {
            Vec4 ret = new Vec4(VixenLibPINVOKE.Matrix_GetRotationAxis(swigCPtr), true);

            return(ret);
        }