Exemplo n.º 1
0
 public TBQuat(TBQuat quat) : this(Audio360CSharpPINVOKE.new_TBQuat__SWIG_2(TBQuat.getCPtr(quat)), true)
 {
     if (Audio360CSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw Audio360CSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public virtual void setListenerRotation(TBQuat quat)
 {
     Audio360CSharpPINVOKE.AudioEngine_setListenerRotation__SWIG_1(swigCPtr, TBQuat.getCPtr(quat));
     if (Audio360CSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw Audio360CSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
        public static TBVector getUpFromQuat(TBQuat quat)
        {
            TBVector ret = new TBVector(Audio360CSharpPINVOKE.TBQuat_getUpFromQuat(TBQuat.getCPtr(quat)), true);

            if (Audio360CSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw Audio360CSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
 public virtual void setFocusOrientationQuat(TBQuat focusQuat)
 {
     Audio360CSharpPINVOKE.SpatDecoderInterface_setFocusOrientationQuat(swigCPtr, TBQuat.getCPtr(focusQuat));
     if (Audio360CSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw Audio360CSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
        public virtual EngineError setRotation(TBQuat rotation)
        {
            EngineError ret = (EngineError)Audio360CSharpPINVOKE.Object3D_setRotation__SWIG_0(swigCPtr, TBQuat.getCPtr(rotation));

            if (Audio360CSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw Audio360CSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 6
0
        public static TBVector antiRotateVectorByQuat(TBQuat rotQuat, TBVector vector)
        {
            TBVector ret = new TBVector(Audio360CSharpPINVOKE.TBQuat_antiRotateVectorByQuat(TBQuat.getCPtr(rotQuat), TBVector.getCPtr(vector)), true);

            if (Audio360CSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw Audio360CSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 7
0
        public static TBQuat quatProductUnNormalised(TBQuat a, TBQuat b)
        {
            TBQuat ret = new TBQuat(Audio360CSharpPINVOKE.TBQuat_quatProductUnNormalised(TBQuat.getCPtr(a), TBQuat.getCPtr(b)), true);

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