Exemple #1
0
 public Vec4(Vec4 arg0) : this(VixenLibPINVOKE.new_Vec4__SWIG_3(Vec4.getCPtr(arg0)), true)
 {
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public Quat(Vec4 q) : this(VixenLibPINVOKE.new_Quat__SWIG_4(Vec4.getCPtr(q)), true)
 {
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 public void Transform(Matrix arg0, Vec4 arg1)
 {
     VixenLibPINVOKE.Vec4_Transform(swigCPtr, Matrix.getCPtr(arg0), Vec4.getCPtr(arg1));
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public void Transform(Vec3 src, Vec4 dst)
 {
     VixenLibPINVOKE.Matrix_Transform__SWIG_1(swigCPtr, Vec3.getCPtr(src), Vec4.getCPtr(dst));
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
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);
        }
Exemple #6
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);
        }
Exemple #7
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);
        }
Exemple #8
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);
        }
        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);
        }