mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-16 05:14:05 +02:00
removed updatePacketTimestamp()
..from OctreeQueryNode
This commit is contained in:
parent
e89d33dc60
commit
f361b9a8a7
2 changed files with 0 additions and 16 deletions
|
@ -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;
|
||||
|
||||
}
|
|
@ -101,8 +101,6 @@ public:
|
|||
bool isShuttingDown() const { return _isShuttingDown; }
|
||||
|
||||
void incrementSequenceNumber();
|
||||
|
||||
void updatePacketTimestamp();
|
||||
|
||||
private slots:
|
||||
void sendThreadFinished();
|
||||
|
|
Loading…
Reference in a new issue