FloatVector_Repeat() private method

private FloatVector_Repeat ( float jarg1, int jarg2 ) : IntPtr
jarg1 float
jarg2 int
return IntPtr
コード例 #1
0
    public static FloatVector Repeat(float value, int count)
    {
        IntPtr      cPtr = AssimpPINVOKE.FloatVector_Repeat(value, count);
        FloatVector ret  = (cPtr == IntPtr.Zero) ? null : new FloatVector(cPtr, true);

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