tweaks and cleanup

This commit is contained in:
ZappoMan 2013-11-23 14:20:12 -08:00
parent 13e6a187bd
commit 51547f6f8d

View file

@ -29,9 +29,9 @@ public:
void resetVoxelPacket(); // resets voxel packet to after "V" header void resetVoxelPacket(); // resets voxel packet to after "V" header
void writeToPacket(unsigned char* buffer, int bytes); // writes to end of packet void writeToPacket(unsigned char* buffer, int bytes); // writes to end of packet
const unsigned char* getPacket() const { return _voxelPacket; } const unsigned char* getPacket() const { return _voxelPacket; }
int getPacketLength() const { return MAX_VOXEL_PACKET_SIZE - _voxelPacketAvailableBytes; } int getPacketLength() const { return MAX_VOXEL_PACKET_SIZE - _voxelPacketAvailableBytes; }
bool isPacketWaiting() const { return _voxelPacketWaiting; } bool isPacketWaiting() const { return _voxelPacketWaiting; }
bool packetIsDuplicate() const; bool packetIsDuplicate() const;