示例#1
0
        public static Float_p frompointer(SWIGTYPE_p_float t)
        {
            global::System.IntPtr cPtr = FbxWrapperNativePINVOKE.Float_p_frompointer(SWIGTYPE_p_float.getCPtr(t));
            Float_p ret = (cPtr == global::System.IntPtr.Zero) ? null : new Float_p(cPtr, false);

            return(ret);
        }
    public static OpenZenFloatArray frompointer(SWIGTYPE_p_float t)
    {
        global::System.IntPtr cPtr = OpenZenPINVOKE.OpenZenFloatArray_frompointer(SWIGTYPE_p_float.getCPtr(t));
        OpenZenFloatArray     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OpenZenFloatArray(cPtr, false);

        return(ret);
    }
示例#3
0
 public Affine3(SWIGTYPE_p_float arr) : this(OgrePINVOKE.new_Affine3__SWIG_3(SWIGTYPE_p_float.getCPtr(arr)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 public Matrix4(SWIGTYPE_p_float arr) : this(OgrePINVOKE.new_Matrix4__SWIG_2(SWIGTYPE_p_float.getCPtr(arr)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
        public static FloatArray frompointer(SWIGTYPE_p_float t)
        {
            global::System.IntPtr cPtr = fbx_wrapperPINVOKE.FloatArray_frompointer(SWIGTYPE_p_float.getCPtr(t));
            FloatArray            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FloatArray(cPtr, false);

            return(ret);
        }
示例#6
0
 public override void get_string(SWIGTYPE_p_float vector, SWIGTYPE_p_int len)
 {
     modshogunPINVOKE.StreamingAsciiFile_get_string__SWIG_4(swigCPtr, SWIGTYPE_p_float.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#7
0
 public virtual void getBreakForce(SWIGTYPE_p_float linear, SWIGTYPE_p_float angular)
 {
     physxPINVOKE.PxConstraint_getBreakForce(swigCPtr, SWIGTYPE_p_float.getCPtr(linear), SWIGTYPE_p_float.getCPtr(angular));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void drawShadow(SWIGTYPE_p_float m, SWIGTYPE_p_btVector3 extrusion, SWIGTYPE_p_btCollisionShape shape, SWIGTYPE_p_btVector3 worldBoundsMin, SWIGTYPE_p_btVector3 worldBoundsMax)
 {
     OpenGLSupportPINVOKE.GL_ShapeDrawer_drawShadow(swigCPtr, SWIGTYPE_p_float.getCPtr(m), SWIGTYPE_p_btVector3.getCPtr(extrusion), SWIGTYPE_p_btCollisionShape.getCPtr(shape), SWIGTYPE_p_btVector3.getCPtr(worldBoundsMin), SWIGTYPE_p_btVector3.getCPtr(worldBoundsMax));
     if (OpenGLSupportPINVOKE.SWIGPendingException.Pending)
     {
         throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#9
0
 public override void expand_if_required(SWIGTYPE_p_float vec, SWIGTYPE_p_int len)
 {
     modshogunPINVOKE.StreamingVwFeatures_expand_if_required__SWIG_0(swigCPtr, SWIGTYPE_p_float.getCPtr(vec), SWIGTYPE_p_int.getCPtr(len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#10
0
 public virtual void set_w(SWIGTYPE_p_float src_w, int src_w_dim)
 {
     modshogunPINVOKE.OnlineLinearMachine_set_w__SWIG_0(swigCPtr, SWIGTYPE_p_float.getCPtr(src_w), src_w_dim);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#11
0
 public virtual void get_string_and_label(SWIGTYPE_p_float vector, SWIGTYPE_p_int len, SWIGTYPE_p_double label)
 {
     modshogunPINVOKE.StreamingFile_get_string_and_label__SWIG_4(swigCPtr, SWIGTYPE_p_float.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len), SWIGTYPE_p_double.getCPtr(label));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#12
0
 public void EigenSolveSymmetric(SWIGTYPE_p_float afEigenvalue, Vector3 akEigenvector)
 {
     OgrePINVOKE.Matrix3_EigenSolveSymmetric(swigCPtr, SWIGTYPE_p_float.getCPtr(afEigenvalue), Vector3.getCPtr(akEigenvector));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#13
0
 public static void unpackColour(SWIGTYPE_p_float r, SWIGTYPE_p_float g, SWIGTYPE_p_float b, SWIGTYPE_p_float a, PixelFormat pf, SWIGTYPE_p_void src)
 {
     OgrePINVOKE.PixelUtil_unpackColour__SWIG_2(SWIGTYPE_p_float.getCPtr(r), SWIGTYPE_p_float.getCPtr(g), SWIGTYPE_p_float.getCPtr(b), SWIGTYPE_p_float.getCPtr(a), (int)pf, SWIGTYPE_p_void.getCPtr(src));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#14
0
 public override void set_vector(SWIGTYPE_p_float vector, int len)
 {
     modshogunPINVOKE.BinaryFile_set_vector__SWIG_3(swigCPtr, SWIGTYPE_p_float.getCPtr(vector), len);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#15
0
 public override void get_matrix(SWIGTYPE_p_float matrix, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_vec)
 {
     modshogunPINVOKE.BinaryFile_get_matrix__SWIG_3(swigCPtr, SWIGTYPE_p_float.getCPtr(matrix), SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_vec));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#16
0
 public void setNamedConstant(string name, SWIGTYPE_p_float val, uint count)
 {
     OgrePINVOKE.GpuSharedParameters_setNamedConstant__SWIG_8(swigCPtr, name, SWIGTYPE_p_float.getCPtr(val), count);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#17
0
 public static void btSwapScalarEndian(float sourceVal, SWIGTYPE_p_float destVal)
 {
     BulletPINVOKE.btSwapScalarEndian(sourceVal, SWIGTYPE_p_float.getCPtr(destVal));
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#18
0
 public void _setBlendMaskData(SWIGTYPE_p_float blendMaskData)
 {
     OgrePINVOKE.AnimationState__setBlendMaskData(swigCPtr, SWIGTYPE_p_float.getCPtr(blendMaskData));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#19
0
 public void set_array(SWIGTYPE_p_float p_array, int p_num_elements, int array_size)
 {
     modshogunPINVOKE.DynamicShortRealArray_set_array(swigCPtr, SWIGTYPE_p_float.getCPtr(p_array), p_num_elements, array_size);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#20
0
 public virtual void get_ndarray(SWIGTYPE_p_float array, SWIGTYPE_p_int dims, SWIGTYPE_p_int num_dims)
 {
     modshogunPINVOKE.File_get_ndarray__SWIG_3(swigCPtr, SWIGTYPE_p_float.getCPtr(array), SWIGTYPE_p_int.getCPtr(dims), SWIGTYPE_p_int.getCPtr(num_dims));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#21
0
 public virtual void get_vector(SWIGTYPE_p_float vector, SWIGTYPE_p_int len)
 {
     modshogunPINVOKE.StreamingFile_get_vector__SWIG_4(swigCPtr, SWIGTYPE_p_float.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#22
0
 public virtual void set_matrix(SWIGTYPE_p_float matrix, int num_feat, int num_vec)
 {
     modshogunPINVOKE.File_set_matrix__SWIG_4(swigCPtr, SWIGTYPE_p_float.getCPtr(matrix), num_feat, num_vec);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#23
0
 public virtual void get_w(SWIGTYPE_p_float dst_w, SWIGTYPE_p_int dst_dims)
 {
     modshogunPINVOKE.OnlineLinearMachine_get_w__SWIG_0(swigCPtr, SWIGTYPE_p_float.getCPtr(dst_w), SWIGTYPE_p_int.getCPtr(dst_dims));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#24
0
 public void getEulerZYX(SWIGTYPE_p_float yaw, SWIGTYPE_p_float pitch, SWIGTYPE_p_float roll)
 {
     BulletPINVOKE.btMatrix3x3_getEulerZYX__SWIG_1(swigCPtr, SWIGTYPE_p_float.getCPtr(yaw), SWIGTYPE_p_float.getCPtr(pitch), SWIGTYPE_p_float.getCPtr(roll));
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#25
0
        internal static DataAccessor FromPointer(SWIGTYPE_p_float t, int count)
        {
            global::System.IntPtr cPtr = fannfloatPINVOKE.FloatAccessor_FromPointer(SWIGTYPE_p_float.getCPtr(t));
            DataAccessor          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new DataAccessor(cPtr, false);

            ret.ArrayCount = count;
            return(ret);
        }
示例#26
0
 public void fit(SWIGTYPE_p_float angle)
 {
     BulletPINVOKE.btAngularLimit_fit(swigCPtr, SWIGTYPE_p_float.getCPtr(angle));
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#27
0
 public void getHSB(SWIGTYPE_p_float hue, SWIGTYPE_p_float saturation, SWIGTYPE_p_float brightness)
 {
     OgrePINVOKE.ColourValue_getHSB__SWIG_0(swigCPtr, SWIGTYPE_p_float.getCPtr(hue), SWIGTYPE_p_float.getCPtr(saturation), SWIGTYPE_p_float.getCPtr(brightness));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#28
0
 public void getUV(SWIGTYPE_p_float u1, SWIGTYPE_p_float v1, SWIGTYPE_p_float u2, SWIGTYPE_p_float v2)
 {
     OgreOverlayPINVOKE.PanelOverlayElement_getUV(swigCPtr, SWIGTYPE_p_float.getCPtr(u1), SWIGTYPE_p_float.getCPtr(v1), SWIGTYPE_p_float.getCPtr(u2), SWIGTYPE_p_float.getCPtr(v2));
     if (OgreOverlayPINVOKE.SWIGPendingException.Pending)
     {
         throw OgreOverlayPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#29
0
 public static void b2AngularStiffness(SWIGTYPE_p_float stiffness, SWIGTYPE_p_float damping, float frequencyHertz, float dampingRatio, b2Body bodyA, b2Body bodyB)
 {
     Box2dPINVOKE.b2AngularStiffness(SWIGTYPE_p_float.getCPtr(stiffness), SWIGTYPE_p_float.getCPtr(damping), frequencyHertz, dampingRatio, b2Body.getCPtr(bodyA), b2Body.getCPtr(bodyB));
     if (Box2dPINVOKE.SWIGPendingException.Pending)
     {
         throw Box2dPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#30
0
 public virtual void getTwistLimit(SWIGTYPE_p_float lower, SWIGTYPE_p_float upper)
 {
     physxPINVOKE.PxArticulationJoint_getTwistLimit(swigCPtr, SWIGTYPE_p_float.getCPtr(lower), SWIGTYPE_p_float.getCPtr(upper));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }