mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
disallow copying of VoxelSystem objects
This commit is contained in:
parent
7e766eb351
commit
fc0448a148
2 changed files with 4 additions and 6 deletions
|
@ -417,11 +417,6 @@ int VoxelSystem::updateNodeInArraysAsPartialVBO(VoxelNode* node) {
|
||||||
return 0; // not-updated
|
return 0; // not-updated
|
||||||
}
|
}
|
||||||
|
|
||||||
VoxelSystem* VoxelSystem::clone() const {
|
|
||||||
// this still needs to be implemented, will need to be used if VoxelSystem is attached to agent
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
void VoxelSystem::init() {
|
void VoxelSystem::init() {
|
||||||
|
|
||||||
_renderWarningsOn = false;
|
_renderWarningsOn = false;
|
||||||
|
|
|
@ -31,7 +31,6 @@ public:
|
||||||
~VoxelSystem();
|
~VoxelSystem();
|
||||||
|
|
||||||
int parseData(unsigned char* sourceBuffer, int numBytes);
|
int parseData(unsigned char* sourceBuffer, int numBytes);
|
||||||
VoxelSystem* clone() const;
|
|
||||||
|
|
||||||
void setViewFrustum(ViewFrustum* viewFrustum) { _viewFrustum = viewFrustum; };
|
void setViewFrustum(ViewFrustum* viewFrustum) { _viewFrustum = viewFrustum; };
|
||||||
|
|
||||||
|
@ -82,6 +81,10 @@ public:
|
||||||
creationMode mode, bool destructive = false, bool debug = false);
|
creationMode mode, bool destructive = false, bool debug = false);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
// disallow copying of VoxelSystem objects
|
||||||
|
VoxelSystem(const VoxelSystem&);
|
||||||
|
VoxelSystem& operator= (const VoxelSystem&);
|
||||||
|
|
||||||
int _callsToTreesToArrays;
|
int _callsToTreesToArrays;
|
||||||
VoxelNodeBag _removedVoxels;
|
VoxelNodeBag _removedVoxels;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue