mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 23:39:23 +02:00
make Octree::readBitstreamToTree() virtual
This commit is contained in:
parent
171151b92a
commit
82ed19386f
3 changed files with 3 additions and 3 deletions
|
@ -107,7 +107,7 @@ void EntityTree::eraseAllOctreeElements(bool createNewRoot) {
|
|||
}
|
||||
|
||||
void EntityTree::readBitstreamToTree(const unsigned char* bitstream,
|
||||
unsigned long int bufferSizeBytes, ReadBitstreamToTreeParams& args) {
|
||||
uint64_t bufferSizeBytes, ReadBitstreamToTreeParams& args) {
|
||||
Octree::readBitstreamToTree(bitstream, bufferSizeBytes, args);
|
||||
|
||||
// add entities
|
||||
|
|
|
@ -82,7 +82,7 @@ public:
|
|||
virtual void eraseAllOctreeElements(bool createNewRoot = true) override;
|
||||
|
||||
virtual void readBitstreamToTree(const unsigned char* bitstream,
|
||||
unsigned long int bufferSizeBytes, ReadBitstreamToTreeParams& args) override;
|
||||
uint64_t bufferSizeBytes, ReadBitstreamToTreeParams& args) override;
|
||||
int readEntityDataFromBuffer(const unsigned char* data, int bytesLeftToRead, ReadBitstreamToTreeParams& args);
|
||||
|
||||
// These methods will allow the OctreeServer to send your tree inbound edit packets of your
|
||||
|
|
|
@ -232,7 +232,7 @@ public:
|
|||
|
||||
virtual void eraseAllOctreeElements(bool createNewRoot = true);
|
||||
|
||||
void readBitstreamToTree(const unsigned char* bitstream, uint64_t bufferSizeBytes, ReadBitstreamToTreeParams& args);
|
||||
virtual void readBitstreamToTree(const unsigned char* bitstream, uint64_t bufferSizeBytes, ReadBitstreamToTreeParams& args);
|
||||
void deleteOctalCodeFromTree(const unsigned char* codeBuffer, bool collapseEmptyTrees = DONT_COLLAPSE);
|
||||
void reaverageOctreeElements(OctreeElementPointer startElement = OctreeElementPointer());
|
||||
|
||||
|
|
Loading…
Reference in a new issue