Changeset 450 in flair-src for trunk/tools/VrpnLite/src/VrpnLite.cpp
- Timestamp:
- Sep 23, 2021, 9:59:59 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/VrpnLite/src/VrpnLite.cpp
r448 r450 147 147 Quaternion objectQuaternion; 148 148 const VrpnObject* vrpnobject=*it; 149 149 //printf("send to %s client %i\n",vrpnobject->ObjectName().c_str(),connections.at(i).srcId); 150 150 vrpnobject->GetPosition(objectPosition); 151 151 vrpnobject->GetQuaternion(objectQuaternion); … … 170 170 dataSocket->HostToNetwork((char*)(&time),sizeof(Time)); 171 171 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); 173 173 } 174 174 }
Note:
See TracChangeset
for help on using the changeset viewer.