//Haptic workspace generic functions for two haptic device
    //To set up two haptic workspaces, Workspace componenets (position and Size)
    //must be store sequentially in the IntPtr which lenght will be set to 6
    //(instead of 3 for a single workspace)
    public void SetTwoHapticWorkSpaces()
    {
        float[] myFloatPosition = new float[6];
        float[] myFloatSize     = new float[6];

        //convert 2 Float3Array to Float6Array
        myFloatPosition = ConverterClass.Convert2Float3ToFloat6(myHapticClassScript.myWorkSpacePosition, myHapticClassScript.mySecondWorkSpacePosition);
        myFloatSize     = ConverterClass.Convert2Float3ToFloat6(myHapticClassScript.myWorkSpaceSize, myHapticClassScript.mySecondWorkSpaceSize);

        //Convert float6 to IntPtr
        IntPtr dstPosPtr  = ConverterClass.ConvertFloat6ToIntPtr(myFloatPosition);
        IntPtr dstSizePtr = ConverterClass.ConvertFloat6ToIntPtr(myFloatSize);

        //Set Haptic Workspace for separate update for two haptic devices
        //PluginImport.SetWorkspacePosition(dstPosPtr);
        //PluginImport.SetWorkspaceSize(dstSizePtr);

        //Set the workspace
        PluginImport.SetWorkspace(dstPosPtr, dstSizePtr);
    }