Changeset 450 in flair-src for trunk/tools/VrpnLite/src/VrpnLite.cpp


Ignore:
Timestamp:
Sep 23, 2021, 9:59:59 AM (3 years ago)
Author:
Sanahuja Guillaume
Message:

up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/VrpnLite/src/VrpnLite.cpp

    r448 r450  
    147147        Quaternion objectQuaternion;
    148148        const VrpnObject* vrpnobject=*it;
    149 
     149//printf("send to %s client %i\n",vrpnobject->ObjectName().c_str(),connections.at(i).srcId);
    150150        vrpnobject->GetPosition(objectPosition);
    151151        vrpnobject->GetQuaternion(objectQuaternion);
     
    170170      dataSocket->HostToNetwork((char*)(&time),sizeof(Time));
    171171      memcpy(datasPtr,&time, sizeof(time));//only one time for all VrpnObject; suppose it is the same!
    172       dataSocket->SendMessage(datas,sizeof(datas),i);
     172      dataSocket->SendMessage(datas,sizeof(datas),connections.at(i).srcId);
    173173  }
    174174}
Note: See TracChangeset for help on using the changeset viewer.