Changeset 364 in flair-src for trunk/tools/VrpnLite/src
- Timestamp:
- Sep 3, 2020, 1:59:51 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/VrpnLite/src/VrpnLite.cpp
r363 r364 77 77 78 78 void VrpnLite::SendObjects(void) const{ 79 return;80 int16_t position[3];79 80 int16_t position[3]; 81 81 int16_t quaternion[4]; 82 82 Time time; 83 char datas[vrpnobjects.size()*(sizeof(position)+sizeof(quaternion))+ sizeof(time)];84 char *datasPtr=datas;85 83 86 84 //for (vector<vector<VrpnObject*>>::const_iterator connection= vrpnobjects_list.begin();connection < vrpnobjects_list.end(); connection++) { 87 85 for (int i=0;i<vrpnobjects_list.size();i++) { 86 char datas[vrpnobjects_list.at(i).size()*(sizeof(position)+sizeof(quaternion))+ sizeof(time)]; 87 char *datasPtr=datas; 88 88 for (vector<VrpnObject*>::const_iterator it = vrpnobjects_list.at(i).begin();it < vrpnobjects_list.at(i).end(); it++) { 89 89 Vector3Df objectPosition;
Note:
See TracChangeset
for help on using the changeset viewer.