removed updatePacketTimestamp()

..from OctreeQueryNode
This commit is contained in:
wangyix 2014-05-27 18:04:53 -07:00
parent e89d33dc60
commit f361b9a8a7
2 changed files with 0 additions and 16 deletions

View file

@ -366,17 +366,3 @@ void OctreeQueryNode::dumpOutOfView() {
void OctreeQueryNode::incrementSequenceNumber() {
_sequenceNumber++;
}
void OctreeQueryNode::updatePacketTimestamp() {
int numBytesPacketHeader = populatePacketHeader(reinterpret_cast<char*>(_octreePacket), _myPacketType);
_octreePacketAt = _octreePacket + numBytesPacketHeader;
_octreePacketAt += sizeof(OCTREE_PACKET_FLAGS);
_octreePacketAt += sizeof(OCTREE_PACKET_SEQUENCE);
// pack in timestamp
OCTREE_PACKET_SENT_TIME now = usecTimestampNow();
OCTREE_PACKET_SENT_TIME* timeAt = (OCTREE_PACKET_SENT_TIME*)_octreePacketAt;
*timeAt = now;
}

View file

@ -101,8 +101,6 @@ public:
bool isShuttingDown() const { return _isShuttingDown; }
void incrementSequenceNumber();
void updatePacketTimestamp();
private slots:
void sendThreadFinished();